I set up an Apache 2.4.55 server to serve a file over HTTP/2. When connecting repeatedly to the server using the curl command, I get the following error (usually at random, but below it happened for the first URL):
- refs curl#10634 where errors in the HTTP/2 framing layer are observed.
- the bug was that on connection reuse, the code attempted to switch
in yet another layer of HTTP/2 handling instead of detecting that
this was already in place.
- added pytest testcase reproducing the issue.
Yes it's possible that is what happened. My actual case is some custom code which is quite a lot more complicated, and so I tried to reduce it down to something that happens with only the curl command.
I have tested your proposed patch and it works fine for me, both with curl and with my actual code.
I did this
I set up an Apache 2.4.55 server to serve a file over HTTP/2. When connecting repeatedly to the server using the
curl
command, I get the following error (usually at random, but below it happened for the first URL):I expected the following
No error.
curl/libcurl version
This happens with curl @ commit 788c6b3
I bisected the problem and it was introduced by commit 6711582
Reverting curl back to commit b7aaf07 (the commit before 6711582) fixes the problem.
operating system
Fedora Rawhide
The text was updated successfully, but these errors were encountered: