-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: make Server respect http1 Server's SetKeepAlivesEnabled
If the user is using Server.SetKeepAlivesEnabled(false), assume they have a reason and respect it. Make HTTP/2 behave like HTTP/1 (except a bit nicer, since we have GOAWAY). Updates golang/go#17717 Change-Id: I4a5ce324f0ac8653d83e75029063cd2e270a1048 Reviewed-on: https://go-review.googlesource.com/33153 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
- Loading branch information
Showing
1 changed file
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters