-
-
Notifications
You must be signed in to change notification settings - Fork 626
httpc:request_uri does not set ssl_server_name, breaking SNI #236
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
Comments
I believe this could be fixed by letting |
Yeah, makes sense to me. Good catch! @Tieske any reason why we shouldn't default to |
should it only look at the host from the parsed url, or also at the host header if provided? |
old implementation did not take the host header into account |
Yeah, I think |
this comment is wrong:
considering the Should be
|
Yeah right. Ok, I'll put a PR together to fix this up, unless you're already on the case? |
also fixes an incorrect note in the docs fixes ledgetech#236
hold on ... |
there ^^ |
also fixes an incorrect note in the docs fixes #236
Merged and uploaded to luarocks. Thanks all. Note |
In lua-resty-http 0.15.0,
request_uri
would callssl_handshake
with the hostname from the request. In 0.16.0 this is no longer the case, and to get SNI to work, you have to manually passssl_server_name
.The text was updated successfully, but these errors were encountered: