Skip to content

net/http: check that http2 logs no more than http1 #13925

Closed
@karmeye

Description

@karmeye

Why are these logged by default?

...
2016/01/12 18:47:58 http2: server closing client connection; error reading frame from client 54.213.93.184:35476: read tcp 172.31.25.225:8000->54.213.93.184:35476: i/o timeout
2016/01/12 18:47:58 http2: server closing client connection; error reading frame from client 54.213.93.184:35477: read tcp 172.31.25.225:8000->54.213.93.184:35477: i/o timeout
2016/01/12 18:47:58 http2: server closing client connection; error reading frame from client 54.213.93.184:35478: read tcp 172.31.25.225:8000->54.213.93.184:35478: i/o timeout
2016/01/12 18:47:58 http2: server closing client connection; error reading frame from client 54.213.93.184:35480: read tcp 172.31.25.225:8000->54.213.93.184:35480: i/o timeout
2016/01/12 18:47:58 http2: server closing client connection; error reading frame from client 54.213.93.184:35481: read tcp 172.31.25.225:8000->54.213.93.184:35481: i/o timeout
...

If I understand it correctly, it's not an error; it's just that the client wants to keep a connection open for a longer time than the server (the ReadDeadline times out).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions