aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorJoão Barbosa <[email protected]>2018-11-07 09:08:56 +0000
committerJoão Barbosa <[email protected]>2018-11-23 16:54:22 +0000
commit18e968581697078c36a3c3818f8906cf134ccadd (patch)
tree7d35027438359b4d24581257c408eb2c35db89c2 /src/httpserver.h
parentrpc: Add wait argument to stop (diff)
downloaddiscoin-18e968581697078c36a3c3818f8906cf134ccadd.tar.xz
discoin-18e968581697078c36a3c3818f8906cf134ccadd.zip
http: Send "Connection: close" header if shutdown is requested
Sending the header "Connection: close" makes libevent close persistent connections (implicit with HTTP 1.1) which cleans the event base when shutdown is requested.
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions