Closed
Description
A Keep-Alive connection is going to end in one of two ways: the client goes away (maybe sending GOAWAY), or we pass the IdleTimeout
. Neither are errors, but both are logged as such.
In HTTP/2, they look like this:
http2: error reading preface from client: timeout waiting for client preface
http2: error reading preface from client: connection reset by peer
http2: received GOAWAY, starting graceful shutdown
Not sure how they look like in HTTP 1. Probably just EOF.
These should just be ignored for idle connections.
P.S. I also see a sprinkle of these, not sure what to think about them yet, but they are rare:
http2: server: error reading preface from client: write tcp: write: broken pipe