-
Notifications
You must be signed in to change notification settings - Fork 4
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
Concurrent requests do not work with HTTP/2 #108
Comments
Apparently, webfakes parallelism does not work with HTTP/2 (#108).
It seems hard to fix this. civetweb does not support HTTP/2 currently, and it is unlikely that it would support it in the future. Why the behavior is different when client tries HTTP/2 first, I am not sure. Maybe this is something worth reporting to civetweb. |
Maybe this is happened because the latest release of curl enabled CURLOPT_PIPEWAIT by default, which does not work well if keepalive is disabled: curl/curl#15838 |
For the record, according to https://curl.se/libcurl/c/CURLOPT_PIPEWAIT.html this is (was) happening, because libcurl does not start another request to the same server until it receives a reply about whether multiplexing is supported or not:
I am not sure what exactly this means for HTTP and HTTPS, but if I send the headers quickly, that seems to be enough for HTTP. EDIT: or maybe not. Nevertheless it is still working with keepalive on, and now I have a test case for it. |
The text was updated successfully, but these errors were encountered: