*_listener: Update for new net.server API, specifically .listener -> .onincoming, .disconnect -> .ondisconnect

net.adns: Update for new net.server API (doesn't work with libevent yet)

s2smanager: Update for new net.server API (s2s still doesn't work with libevent for other reasons)

net.server_event: Comment accidentally uncommented vdebug()

net.server_event: Handle and ignore 'wantread' error from receive(), treat as a timeout

net.server_event: Remove premature non-optimisation

net.server_event: Fix moved line caused by Mercurial's crecord and my selective commits

net.server_event: Obey nowriting/nointerface for locks in interface methods

net.server_event: Use conn property for send/receive instead of caching, fixes trying to use original socket after SSL-wrapping

net.server_event: Set startsslcallback property to nil when we're done handshaking, otherwise we keep trying to repeat the handshake

(0) -1000 -300 -100 -10 +10 +100 +300 +1000 tip

mercurial