Skip to content

x/net/http2: if http1 Server's keep-alives are disabled, only do one request #17717

Closed
@bradfitz

Description

@bradfitz

As part of #9478, I noticed the HTTP/2 server doesn't respect SetKeepAlivesEnabled.

Do that.

After the first http2 Server response, check:

func (s *Server) doKeepAlives() bool {

And if it's false, start a graceful GOAWAY shutdown.

/cc @tombergan

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions