-
Notifications
You must be signed in to change notification settings - Fork 94
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
github.com TLS 1.3 transmission fails in the middle with NEED DATA #57
Comments
(It works fine with TLS 1.2.) |
Just tested it with github.com, and it works fine. Can you post a minimal client that reproduces this error? |
I checked this against trunk just to make sure my app wasn't failing, and it still doesn't work (macOS 10.14, x86_64). I attached the diff. |
It also doesn't work on Linux ppc64le either, for the record (same basic failure). |
It seems that is something to do with SSL_* API. github.com works find with tls_* API. I will check it. |
@eduardsui: Could you share the code that you have working with TLS 1.3 for GitHub? I tried slightly modifying the I have been trying to figure out how to solve this issue myself, but I have been unable to. I think if the issue is indeed with the |
This comment has been minimized.
This comment has been minimized.
I'm still trying to figure this out. I agree it's not the The most recent tip doesn't fix it. I do note that the cut-off point is non-deterministic. It doesn't halt at the same point each time. |
Okay, with some hacking, I get the full TLS 1.3 page from Github. The problem looks lower level. If I repeatedly I don't like loading the entire thing, though, so this isn't a solution for large files. But this suggests |
This feels like a race condition, by the way. |
Thank you for the info. I'm planing to take a look next week. |
Although TLS 1.3 works well on many sites (thank you!), github.com itself does not and the stream aborts at around the same place each time with
A final pulse of data occurs, but
recv()
then returns EOF in the middle of the transmission.The text was updated successfully, but these errors were encountered: