aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* HTTP requests now have status code as a number instead of a string. Switched ↵Matthew Wild2008-12-251-7/+8
| | | | parameters on both http.request() and the callback to better match LuaSocket's http module
* Adding initial net.httpserver (lots of work to do on it)Matthew Wild2008-12-222-0/+283
|
* Fix nil status code for http request callbacksMatthew Wild2008-12-221-1/+1
|
* Fix data loss when closing connection with a large write queue. Thanks albert :)Matthew Wild2008-12-181-6/+48
|
* Second merge from waqasMatthew Wild2008-12-161-1/+1
|\
| * Fixed URL encoding to generate %0x instead of %xWaqas Hussain2008-12-161-1/+1
| |
* | Change xmlhandlers to match stream opening tag with ns+tagMatthew Wild2008-12-162-2/+2
| |
* | Protect loading of connlisteners, to catch errorsMatthew Wild2008-12-161-1/+2
|/
* Make wraptcpclient set timeout to 0, and add it to the list of exported ↵Matthew Wild2008-12-131-0/+3
| | | | functions from server.lua
* Oops, don't call server.loop() because we'll be running inside the serverMatthew Wild2008-12-121-2/+1
|
* Pass HTTP request object to callbackMatthew Wild2008-12-121-5/+5
|
* HTTP request callbacks now: handler(code, content) (where code may be 0, and ↵Matthew Wild2008-12-121-5/+5
| | | | content an error message)
* Non-blocking HTTP requests (adding net.http)Matthew Wild2008-12-122-0/+209
|
* 0.1 -> 0.2Matthew Wild2008-12-104-24/+6
|
* Fix blank tracebacks for c2s/s2s connectionsMatthew Wild2008-12-102-2/+2
|
* stanza_dispatch != dispatch_stanzaMatthew Wild2008-12-072-2/+2
|
* Typo in variable name in last commitMatthew Wild2008-12-072-2/+2
|
* stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} ↵Matthew Wild2008-12-072-7/+2
| | | | listeners, and sessionmanager for the new syntax
* Code tidying for xmpp{client,server}_listenersMatthew Wild2008-12-062-32/+17
|
* Remove old commented code from server.luaMatthew Wild2008-12-061-4/+0
|
* Re-commit TLS fixMatthew Wild2008-12-051-1/+12
|
* MergeMatthew Wild2008-12-052-14/+3
|\
| * Backed out changeset 099d8a102deb (committed too much)Matthew Wild2008-12-052-13/+5
| |
* | Don't say we need TLS after we've already started the handshakeMatthew Wild2008-12-051-4/+1
|/
* Add TLS socket to readlist before handshake starts, fixes major slow-down on ↵Matthew Wild2008-12-052-5/+13
| | | | TLS connections
* Comment out debug logging for nowMatthew Wild2008-12-051-3/+3
|
* Remove linger option on sockets, made no difference, and I forgot to remove ↵Matthew Wild2008-12-051-2/+0
| | | | it earlier
* Remove an incorrect line which I didn't add, and fix the proper way. ↵Matthew Wild2008-12-051-0/+5
| | | | Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings.
* Disconnect with stream errors on bad XML, or invalid stream namespaceMatthew Wild2008-12-052-4/+28
|
* Abstract xmlhandlers a bit more, also add error callbacksMatthew Wild2008-12-042-6/+7
|
* Fix logger ids for c2s and s2soutMatthew Wild2008-12-041-1/+1
|
* Fix GPL'ing MIT/X licensed code :)Matthew Wild2008-12-031-860/+838
|
* Insert copyright/license headersMatthew Wild2008-12-035-0/+100
|
* Fix for loading connlisteners when running without CFG_SOURCEDIRMatthew Wild2008-11-291-1/+1
|
* Update Makefile to now pass config paths to prosody. Update prosody, ↵Matthew Wild2008-11-291-2/+3
| | | | modulemanager and connectionlisteners to obey these paths.
* Merge from waqasMatthew Wild2008-11-281-1/+2
|\
| * Quickfix for dns.lua to not crash on failed connection to name serversWaqas Hussain2008-11-281-1/+2
| |
* | No more reading 1 byte at a time from socketsMatthew Wild2008-11-282-2/+2
|/
* (Basic) IDNA and SRV fallback supportMatthew Wild2008-11-261-3/+8
|
* Fix a waqas copy/paste error. It was my fault again apparently.Matthew Wild2008-11-261-0/+1
|
* Wrapped a core_process_stanza call in an xpcall callWaqas Hussain2008-11-261-1/+1
|
* Added temporary fix for srv on windows: using opendns nameserversWaqas Hussain2008-11-231-5/+10
|
* Small fix for connlisteners to accept nil for userdataMatthew Wild2008-11-231-2/+2
|
* Fix various mistakes in dns.luaMatthew Wild2008-11-231-7/+7
|
* Fix dns for poor Windows users, who have never seen a resolv.confMatthew Wild2008-11-231-1/+3
|
* All the people who don't use TLS, this one's for you.Matthew Wild2008-11-221-1/+1
|
* Incorrect function set as callbackMatthew Wild2008-11-191-1/+2
|
* We have SRV resolving \o/Matthew Wild2008-11-181-0/+795
|
* Fix to prevent send retry when connection is already closedMatthew Wild2008-11-181-6/+9
|
* session:disconnect() -> session:close() for consistency with other Lua APIsMatthew Wild2008-11-182-4/+4
|