John Fremlin 727bcea130 http: add callback to allow server to decline (and thereby close) incoming connections.
This is important, as otherwise clients can easily exhaust the file
descriptors available on a libevent HTTP server, which can cause
problems in other code which does not handle EMFILE well: for example,
see https://github.com/bitcoin/bitcoin/issues/11368

Closes: #578 (patch cherry picked)
2017-12-18 03:00:04 +03:00
..
2015-01-21 11:24:23 +01:00
2014-02-25 14:57:24 +01:00
2014-02-25 14:57:24 +01:00
2017-08-17 12:16:56 -07:00