diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2014-02-27 18:29:00 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2014-02-27 18:29:00 -0800 |
| commit | 67b8bf3e32ec0bcc79453caeea9595a3ca036929 (patch) | |
| tree | 69742bc0761b6df7e42b8e1e1a1d7ba3f6ceca02 /src/pkg/debug | |
| parent | d9c6ae6ae8359429a249b074b07baf5cbc894d7f (diff) | |
| download | go-67b8bf3e32ec0bcc79453caeea9595a3ca036929.tar.xz | |
net/http: add optional Server.ConnState callback
Update #4674
This allows for all sorts of graceful shutdown policies,
without picking a policy (e.g. lameduck period) and without
adding lots of locking to the server core. That policy and
locking can be implemented outside of net/http now.
LGTM=adg
R=golang-codereviews, josharian, r, adg, dvyukov
CC=golang-codereviews
https://golang.org/cl/69260044
Diffstat (limited to 'src/pkg/debug')
0 files changed, 0 insertions, 0 deletions
