Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
http2: Fix erroneous debug message that h2 connection closed #5118
Prior to this change in libcurl debug builds http2 stream closure was
Curl_read calls the underlying read (http2_recv) which returns 0 when the stream is closed:
I don't understand that comment. When the stream is closed that does not mean the connection should be closed.
Prior to this change in libcurl debug builds http2 stream closure was erroneously referred to as connection closure. Before: * nread <= 0, server closed connection, bailing After: * nread == 0, stream closed, bailing Closes #xxxx