aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* net.server_event: Assume wrapclient() is taking a new connection, and call ↵Matthew Wild2012-05-241-1/+1
| | | | onconnect when appropriate (to match server_select)
* net.server_select: Don't close client connections when closing a server (it ↵Matthew Wild2012-05-231-7/+1
| | | | wasn't working anyway)
* net.server_select: Call ondisconnect handler, even if we closed the socket ↵Matthew Wild2012-05-231-0/+4
| | | | ourselves (fixes HTTP session hoarding, thanks Maranda)
* net.server_select: Return error when SSL handshake fails immediately (thanks ↵Matthew Wild2012-05-181-3/+6
| | | | Zash)
* net.http.parser: Keep the Host header no host is present in the URIKim Alvefur2012-05-151-1/+1
|
* net.http.parser: Do full URL decoding and parsing (e.g. adds ↵Matthew Wild2012-05-121-5/+7
| | | | request.url.query when present)
* net.http: Fix urlencode to not encode unreserved characters, so I can ↵Matthew Wild2012-05-121-1/+1
| | | | guiltlessly rant about people who do.
* net.server: server_select != server_event (thanks Nulani, Florob)Matthew Wild2012-05-031-1/+1
|
* net.server, net.timer, net.server_select: Rearrange dependencies between ↵Matthew Wild2012-05-032-16/+3
| | | | these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani)
* net.connlisteners: Add COMPAT stub, use portmanager!Matthew Wild2012-04-281-0/+15
|
* net.http.server: Code cleanup/adjustment now that send_response() accepts ↵Matthew Wild2012-04-281-3/+1
| | | | response.body
* net.http.server: Use response.body if it exists and body is not specified to ↵Matthew Wild2012-04-281-1/+1
| | | | send_response
* net.httpserver: Add compatibility stubMatthew Wild2012-04-281-0/+15
|
* net.http.server: Remove unused imports and variables (fixes traceback due to ↵Matthew Wild2012-04-281-4/+2
| | | | removed net.httpserver)
* net.httpserver, net.httpserver_listener: Remove (obsoleted by net.http.* and ↵Matthew Wild2012-04-282-284/+0
| | | | mod_http, see http://prosody.im/doc/developers/http )
* net.http.server: Try default_host if client sent no host anywhere, ↵Matthew Wild2012-04-281-4/+4
| | | | otherwise... fail. It's 2012.
* net.http.server: Fix traceback on missing host header (thanks darkrain)Matthew Wild2012-04-281-2/+1
|
* net.http.server, mod_http: Support http_default_host config option to ↵Matthew Wild2012-04-271-41/+56
| | | | specify where to direct requests for unknown HTTP vhosts
* net.http.server: Improve commentMatthew Wild2012-04-271-1/+1
|
* net.http.server: Remove unused variableMatthew Wild2012-04-271-1/+0
|
* net.http.server: Correctly cache results of handler indexing, and also cache ↵Matthew Wild2012-04-271-10/+14
| | | | failures
* net.http.codes: Add missing 418 status codeMatthew Wild2012-04-271-0/+1
|
* mod_http_files, net.http.parser: Move path normalization to net.http.parser ↵Matthew Wild2012-04-261-1/+19
| | | | so that all modules can benefit
* Merge with backoutMatthew Wild2012-04-261-4/+0
|\
| * Revert 98bfebb38705, moved to net.http.parser in 4fc99f1b7570Matthew Wild2012-04-261-4/+0
| |
* | net.http.server: Fire http-error 400 if request fails sanity checksMatthew Wild2012-04-261-1/+8
| |
* | net.http.parser: Handle full URLs in status line.Waqas Hussain2012-04-261-1/+6
| |
* | net.http.server: Make error handling overrideable via 'http-error' eventMatthew Wild2012-04-261-4/+12
|/
* net.server.http: Parse absolute URIs in requests (thanks Maranda)Matthew Wild2012-04-261-0/+4
|
* net.http.server: Expose events object (for debug purposes)Matthew Wild2012-04-261-0/+1
|
* net.http.server: Lower score of wildcard handlers to ensure specific ↵Matthew Wild2012-04-261-1/+1
| | | | handlers beat them
* net.http.server: Fix to compare priority if path lengths are the same (logic ↵Matthew Wild2012-04-261-1/+1
| | | | fail)
* net.http.server: Support for on_destroy callback on response objects, and a ↵Matthew Wild2012-04-251-0/+14
| | | | 'finished' flag to say when they are destroyed (responded to or connection closed)
* net.http.server: Small fix to commentMatthew Wild2012-04-251-1/+1
|
* net.http.server: Remove legacy compatibilityMatthew Wild2012-04-251-57/+4
|
* net.http.server: Handle results returned by handlers, and send as a ↵Matthew Wild2012-04-241-12/+20
| | | | response. Also removes explicit firing of '*', which can now be done via wildcard events.
* net.http.server: Remove debug messageMatthew Wild2012-04-241-1/+0
|
* net.server_event: Do not automatically close clients when closing a server portMatthew Wild2012-04-241-16/+3
|
* net.server_select: Remove server from _server table when closingMatthew Wild2012-04-241-0/+1
|
* net.http.server: Support for wildcard events (events that end with '/*')Matthew Wild2012-04-231-0/+51
|
* net.http.server: Fix legacy net.httpserver fallback (httpserver is no longer ↵Waqas Hussain2012-04-221-2/+3
| | | | a global).
* net.httpserver: Comment dependency on connlisteners. Further cleanup to follow.Waqas Hussain2012-04-221-4/+4
|
* multiplex_listener: Remove (already ported to mod_net_multiplex)Matthew Wild2012-04-211-50/+0
|
* mod_component: Make a shared module, and move the xmppcomponent_listener ↵Matthew Wild2012-04-211-218/+0
| | | | into it ('port'ing over to portmanager). Ha ha.
* net.connlisteners: Be gone!Matthew Wild2012-04-211-81/+0
|
* net.http.server: Fire global HTTP event when no specific handlers available.Waqas Hussain2012-04-211-0/+1
|
* net.http.server: Missing <title/> in 404 Not Found response.Waqas Hussain2012-04-211-1/+1
|
* net.http.{server|codes|parser}: Initial commit.Waqas Hussain2012-04-083-0/+405
|
* net.http, httpclient_listener: Merge listener into net.httpMatthew Wild2012-01-232-71/+47
|
* xmppserver_listener: RemoveMatthew Wild2012-01-231-209/+0
|