curl --http1.1 -v https://http2bin.org/get https://http2bin.org/get
curl --http2 -v https://http2bin.org/get https://http2bin.org/get
The problem is that the version detection in lib/http.c around line 3310 assumes HTTP/major.minor, and 8243a95 changes that, so HTTP/2 gets detected as 10, which then makes a lot of code fall back to HTTP/1.0 behaviour such as connection closing.
Note that 8243a95 was committed between 7.49 and 7.49.1, so the current released version (7.49.1) is affected.
curl --http1.1 -v https://http2bin.org/get https://http2bin.org/get
curl --http2 -v https://http2bin.org/get https://http2bin.org/get
The problem is that the version detection in lib/http.c around line 3310 assumes HTTP/major.minor, and 8243a95 changes that, so HTTP/2 gets detected as 10, which then makes a lot of code fall back to HTTP/1.0 behaviour such as connection closing.
Note that 8243a95 was committed between 7.49 and 7.49.1, so the current released version (7.49.1) is affected.