aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.server_select, net.server_event: Support for ondrain listener callback ↵Matthew Wild2010-05-052-1/+9
| | | | for when send buffer is empty
* net.server_select, net.server_event: Rename :pattern() method to :set_mode() ↵Matthew Wild2010-05-052-2/+9
| | | | for select backend, and add :set_mode() to event backend
* net.server_select, net.server_event: Support for :pause() and :resume() on ↵Matthew Wild2010-05-052-1/+21
| | | | connections
* net.server_event: Be sure to fire onincoming for backwards-compatibility ↵Matthew Wild2010-05-051-1/+2
| | | | with pre-onconnect listeners (thanks darkrain/mod_console)
* net.server_event: Call listener.onconnect if it exists, otherwise stick to ↵Matthew Wild2010-04-111-2/+2
| | | | listener.onincoming
* net.server_select: Support for listener.onconnectMatthew Wild2010-04-111-1/+10
|
* Merge 0.6->0.7Matthew Wild2010-04-091-1/+1
|\
| * net.server: Fix logic error causing traceback when receiving a non-number portMatthew Wild2010-04-091-1/+1
| |
* | Merge 0.7/waqas->0.7/MattJMatthew Wild2010-03-301-4/+4
|\ \
| * | net.server_event: Fixed spelling fail.Waqas Hussain2010-03-261-4/+4
| | |
* | | Merge 0.6->0.7Matthew Wild2010-03-301-0/+3
|\ \ \ | |/ / |/| / | |/
| * xmppserver_listener: Compatibility fix for older Prosodies with the s2s ↵Matthew Wild2010-03-301-0/+3
| | | | | | | | xmlns bug
* | net.server_event: Don't re-try a write if the connection closed (thanks Flo)Matthew Wild2010-03-251-1/+1
| |
* | net.server_event: Bump timeout values up somewhatMatthew Wild2010-03-241-3/+3
| |
* | Merge 0.6->0.7Matthew Wild2010-03-2211-19/+26
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-2210-19/+19
| |
| * Merge 0.6.2/waqas with 0.6.2/MattJMatthew Wild2010-03-035-16/+24
| |\
| | * net.dns: Normalize records before placing them in the cache, fixes issues ↵Matthew Wild2010-02-121-4/+5
| | | | | | | | | | | | with CNAME targets in CAPS (fixes #161)
| | * net.httpserver: More robust handling of headers split across multiple packetsMatthew Wild2010-01-211-4/+11
| | |
| | * net.httpserver: Make it possible to return responses with no bodyMatthew Wild2010-01-211-4/+4
| | |
| | * net.httpserver: Close connection on invalid HTTP status lineMatthew Wild2010-01-211-1/+4
| | |
| | * core.sessionmanager, net.*_listener: Remove the evil collectgarbage() callsMatthew Wild2009-11-243-3/+0
| | |
| * | net.httpclient_listener: Don't notify request of closed connection if the ↵Matthew Wild2010-02-191-1/+1
| | | | | | | | | | | | close was initiated by us
| * | net.http: destroy_request(): Pass request.handler to disconnect() listener ↵Matthew Wild2010-03-031-1/+1
| | | | | | | | | | | | to fix small leak
| * | net.http: Close connection when invalid status line is received from the serverMatthew Wild2010-02-191-1/+4
| | |
| * | net.http: Don't re-destroy a request when the connection is closedMatthew Wild2010-02-191-0/+1
| | |
| * | net.http: Port commit 2f235c57d713 to net.http to fix headers in responses ↵Matthew Wild2010-02-191-5/+14
| | | | | | | | | | | | (thanks dersd)
| * | net.dns: Make sure math.randomseed() gets passed an integerMatthew Wild2010-01-071-1/+1
| | |
| * | xmppserver_listener: When a connection fails, pass the reason to destroy_sessionMatthew Wild2009-12-171-1/+1
| | |
| * | xmppserver_listener: Make log messages during SRV retries clearerMatthew Wild2009-12-171-2/+2
| | |
| * | net.http: Don't expect the body on redirectsMatthew Wild2009-12-101-1/+1
| | |
| * | net.httpserver: Removed mime handling (now in mod_httpserver). Unknown ↵Waqas Hussain2009-12-101-6/+1
| | | | | | | | | | | | dynamic content is now always served as text/html.
| * | Disable SSLv2 by default, it's known to be insecure.Paul Aurich2009-12-041-0/+1
| | |
| * | net.server_select: Restore checks for wantread/timeout errors on receiveMatthew Wild2009-12-031-1/+1
| | |
| * | net.server_select: Make bufferlen() method return, of all things, the buffer ↵Matthew Wild2009-12-031-1/+1
| | | | | | | | | | | | length
| * | net.server_select: Fix possibility of losing data sent from a socket just ↵Matthew Wild2009-12-031-1/+1
| | | | | | | | | | | | before it closes (thanks Sjoerd Simons)
| * | net.dns: Fix for blocking dns lookups to find waiting coroutines correctly ↵Matthew Wild2009-12-031-1/+1
| | | | | | | | | | | | (not that we use this in Prosody...)
| * | net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to useMatthew Wild2009-12-031-8/+5
| | |
| * | net.httpserver: Quick fix to set the correct Content-Type on simple (string) ↵Matthew Wild2009-12-021-0/+6
| |/ | | | | | | responses, for a few known types
| * net.adns: Trailing whitespaceMatthew Wild2010-01-201-2/+2
| |
* | net.xmppcomponent_listener: Don't remove 'log' and 'close' from sessions ↵Matthew Wild2010-03-141-1/+6
| | | | | | | | when destroying, and set destroyed = true
* | net.xmppcomponent_listener: Log invalid XML received from components (as we ↵Matthew Wild2010-03-141-0/+1
| | | | | | | | already do for c2s/s2s)
* | net.xmppcomponent_listener: Don't allow closing a session that has already ↵Matthew Wild2010-03-141-0/+1
| | | | | | | | been destroyed
* | net.xmppcomponent_listener: Close component sessions on receiving a ↵Matthew Wild2010-03-141-2/+2
| | | | | | | | </stream:stream>
* | net.xmppcomponent_listener: Don't handle stream errors from component ↵Matthew Wild2010-03-141-0/+1
| | | | | | | | sessions that have already been destroyed
* | net.xmppcomponent_listener: Fix to correctly handle stream errors from ↵Matthew Wild2010-03-141-5/+21
| | | | | | | | components
* | net.xmppclient_listener: Fix to correctly handle stream errors from clientsMatthew Wild2010-03-141-2/+21
| |
* | net.xmppserver_listener: Clarify log message (for nil/false)Matthew Wild2010-03-061-1/+1
| |
* | net.dns: Trailing whitespaceMatthew Wild2010-03-051-2/+2
| |
* | net.dns: More reliable parsing of resolv.conf - allow multiple nameserver ↵Matthew Wild2010-03-051-2/+7
| | | | | | | | IPs on one line (thanks dersd)