-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
catchall route fails with ssl with error : Error: socket hang up #833
Comments
If there is no SSL cert, how should a request or response be encrypted? therefore there can't be any answer on catch_all. |
my explanation was wrong
When SSL is not used (no certificate is included) However, after inserting the certificate to use SSL, In async_write, an error value of false appeared in ec. |
well, with ssl there is an error on read, as there is no cert, therefore no handshake, therefore no decryption key? |
No i put the cert by self signed |
so you have an ssl cert but it is self signed and only the catch_all route is not working, all others are working? correct? |
That's right, all general paths are working well. When implementing catch_all to redirect to the correct path Current code is |
compile time checkable variable handler I am not currently implementing the webserver directly, but I was trying to implement a more dynamic variable path. However, after adding SSL, it did not work as desired. |
sounds like a bug. rewrote the title too. |
i try adding catchall handler
with ssl cert thx your answer |
i found key points this bugs.. when use ssl cert. self->adaptor_.close(); before write ends |
in this codes
handle_initial However, in the case of ssl + catchall, entering the if condition of the above code Simply put A more obvious code modification is I think it would be better to have someone else who is already familiar with Crow analyze and solve the problem. Judging from this, it is not an error that occurs only in SSL. |
Because the actual cause of the bug itself is This bug is not limited to catch_all after all I hope you change the title |
when i not include ssl cert.
i have do correctly resposnse with catch_all route.
in dynamic route on codes
but i put ssl and call with https i has not response to client
error : Error: socket hang up
and on web brouser : ERR_RESPONSE_HEADERS_TRUNCATED
when i debug codes
in async_write rise error with error codes message worng filehandle
The text was updated successfully, but these errors were encountered: