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

net.server_event: Add set_sslctx() method to connections

net.server_event: conn.usingssl -> conn._usingssl

net.server_event: Use correct listener callbacks

net.server_event: Small whitespace fixes

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

mercurial