mod_proxy65: Only lock the reading side when throttling

net.server_select: Add a function to just lock a stream for reading

mod_proxy65: Throttle connections to prevent senders flooding the server's buffers if the receiver doesn't receive fast enough

mod_proxy65: Replace error() calls with module:log("error", ...)

net.server_select: Make bufferlen() method return, of all things, the buffer length

net.server_event: Port fix in 2dc9bbf25447 to libevent-based backend

net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons)

net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...)

net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use

Merge with 0.6

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

mercurial