electrumx/server
Neil Booth e2f4847632 New env var MAX_SESSIONS
When the number of sessions reaches MAX_SESSIONS, which defaults
to 1,000, turn off TCP and SSL listening sockets to prevent new
connections.  When the session count falls below a low watermark,
currently 90% of MAX_SESSIONS, the listening sockets will be re-opened.
Helps prevent DoS and limit open file usage.

Bug fix: do not start serving paused connections until the buffer
socket is sufficiently drained.  Also, loop.
2016-12-13 22:47:03 +09:00
..
__init__.py Initial revision 2016-10-08 17:17:43 +09:00
block_processor.py New env var MAX_SESSIONS 2016-12-13 22:47:03 +09:00
daemon.py Replace $DAEMON_VERSION and $DAEMON_SUBVERSION 2016-11-29 23:03:05 +09:00
db.py Fix ordering in get_utxos 2016-11-27 21:54:05 +09:00
env.py New env var MAX_SESSIONS 2016-12-13 22:47:03 +09:00
irc.py Catch UnicodeError in IRC gethostbyname 2016-12-10 08:52:24 +09:00
mempool.py Fix unconfirmed flag 2016-12-12 08:21:55 +09:00
protocol.py New env var MAX_SESSIONS 2016-12-13 22:47:03 +09:00
storage.py Remove all RocksDB references on close 2016-11-29 19:50:44 +09:00
version.py Fix unconfirmed flag 2016-12-12 08:21:55 +09:00