-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
http2 POST delay #169
Comments
Thanks. Does it show with a mere -d "fooo" (instead lf --form) as well ? I've not done a lot of posts over HTTP/2 so it is probably something like that lingering... |
Just pushed commit ef1c3b4 which I believe fixes this. |
Yes, that fixes it for the "h2" case (TLS). The "h2c" case, where no upgrade is triggered because of request content, it still seems unchanged slow. I see no delay, but the upload takes longer than in the TLS case. Some fallback code when nghttp2 does not kick in perhaps? |
Isn't that just the ordinary Expect: 100-continue delay then? Try with -H Expect: and see if it changes anything! |
As you can see below, the initial wait is gone in all cases, but the upload itself shows poor performance when Timings with curl from github (this morning):
Timings with curl 7.41.0:
|
All right. Thanks a bunch for all the details. I guess I need to roll up my sleeves and check it out closer. |
We prematurely changed protocol handler to HTTP/2 which made things very slow (and wrong). Reported-by: Stefan Eissing Bug: #169
commit abfab17 fixes this problem for me at least. Thanks again! |
Yep. Works flawlessly. Thanks! |
When using
curl --form file=@xxx ....
against my server, there is a 1-2 second delay before curl actually sends the request body. Using the nghttp2 client does not show this behavior.Might it be that this is some effect of
Expect
header handling, that just will not trigger in HTTP/2?The text was updated successfully, but these errors were encountered: