Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow invalid SSL for testing local dev environments #40

Open
kodmanyagha opened this issue Mar 13, 2023 · 3 comments
Open

Allow invalid SSL for testing local dev environments #40

kodmanyagha opened this issue Mar 13, 2023 · 3 comments

Comments

@kodmanyagha
Copy link

Hi, Thank for this project. This is greater then wrk tool I think. Now I'm requesting a small but important feature which wrk has but rewrk hasn't. I'm using valet for local development and this is creating self signed SSL. I can make requests to my local sites from wrk but I can't send requests with rewrk. Probably it is about self signed SSL. If you handle this problem I will be very glad. Thanks.

@ChillFish8
Copy link
Member

ChillFish8 commented Mar 13, 2023

I think this is a pretty reasonable ask, since it's likely very common for situations where you're benchmarking with TLS to be self-signed.

Although there is natural overhead associated with adding TLS in front.

@programatik29
Copy link
Contributor

Self signed SSL shouldn't be a problem in theory.

See: https://github.com/lnx-search/rewrk/blob/master/src/http/user_input.rs#L73-L75

@christianh104
Copy link

I can confirm that this is not working for me either. Chrome, autocannon, and wrk all work just fine but rewrk gives me "connection error: connection closed via error".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants