Skip to content

http server sends 400 after FIN #2312

@bradfitz

Description

@bradfitz
Looking at tcpdumps of my Go server, it seems the HTTP package sends a 400 Bad Request
error out to clients as they're shutting down, after their FIN.

Instrumenting server.go after c.readRequest(), I see:

readRequest error is: unexpected EOF

dump attached.

Attachments:

  1. fin400.pcap (0 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions