aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* xmppserver_listener: Compatibility fix for older Prosodies with the s2s ↵Matthew Wild2010-03-301-0/+3
| | | | xmlns bug
* 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
|
* xmppclient_listener: Escape control characters when logging invalid XML.Waqas Hussain2009-11-241-1/+1
|
* net.dns: Be more strict about the records we cacheMatthew Wild2009-11-181-5/+4
|
* net.dns: Be more strict about checking the DNS replies we receiveMatthew Wild2009-11-181-1/+2
|
* Changed separator between attribute names and prefixes from '|' to '\1' ↵Waqas Hussain2009-11-123-9/+9
| | | | (optimization and cleanup).
* net.connlisteners: Log an error when a listener fails to load.Waqas Hussain2009-11-121-1/+4
|
* net.dns: Fixed indentation and coding style.Waqas Hussain2009-11-021-719/+751
|
* net.dns: Initialize default resolver on module load (instead of on first use).Waqas Hussain2009-11-021-1/+1
|
* net.dns: Updated to use util.windows.get_nameservers for enumerating ↵Waqas Hussain2009-11-021-13/+25
| | | | nameservers on Windows.
* net.httpserver: Pass correct connection object to disconnect listener, which ↵Matthew Wild2009-11-011-1/+1
| | | | fixes a small leak
* server.lua: Standardise on 'client' variable to refer to the socket, makes ↵Matthew Wild2009-10-261-3/+3
| | | | the code a bit cleaner
* Merge with trunkMatthew Wild2009-10-261-2/+2
|\
| * xmppserver_listener: Minor logging fix: Prefer the session logger when ↵Waqas Hussain2009-10-251-2/+2
| | | | | | | | available to log invalid XML warnings.
* | server.lua: Add addsocket(), refactor all code to use it, fixes nasty socket ↵Matthew Wild2009-10-261-21/+18
|/ | | | object leak - moral of the story is to not duplicate code, and not prematurely optimise. But you knew that already didn't you?
* connlisteners: Localize tostring, fixes possible traceback when LuaSec not ↵Matthew Wild2009-10-211-0/+1
| | | | installed
* net.dns: Don't expire records with TTL of 0 instantlyMatthew Wild2009-10-211-1/+1
|
* net.httpserver: Pass on interface option from new_from_config() (thanks Chris)Matthew Wild2009-10-191-1/+3
|
* net.dns: Don't cache some records indefinitelyMatthew Wild2009-10-171-1/+1
|
* net.server: Allow changing the sslctx of a connection after it has been ↵Matthew Wild2009-10-171-16/+22
| | | | established
* xmppserver_listener: Use listener log() if session doesn't have one yet ↵Matthew Wild2009-10-171-2/+2
| | | | (thanks Flo)
* Merge with 0.5Matthew Wild2009-10-151-1/+1
|\
| * xmppserver_listener: Fix typo (thanks Jorj)Matthew Wild2009-10-151-1/+1
| |
* | Merge with 0.5Matthew Wild2009-10-142-7/+12
|\|
| * net.server: Better handling of closing sockets during sendMatthew Wild2009-10-141-6/+9
| |
| * xmppserver_listener: More forcefully close s2s connections (fixes fd leak)Matthew Wild2009-10-141-0/+3
| |