Matthew Wild
|
5da8d03077
|
net.http: custom_headers -> headers
|
2009-01-16 23:34:45 +00:00 |
|
Matthew Wild
|
a2f043a9e7
|
net.http: Remove request from conn->request table when conn closed
|
2009-01-16 23:33:19 +00:00 |
|
Matthew Wild
|
cdc8bc0117
|
Fixed server.lua to use prosody logger for errors
|
2009-01-16 05:36:39 +00:00 |
|
Matthew Wild
|
202b9193db
|
net.connlisteners: Fix to report errors loading connlisteners
|
2009-01-15 20:02:28 +00:00 |
|
Matthew Wild
|
b0f1c38d96
|
net.http: Don't log content from server
|
2009-01-15 04:10:06 +00:00 |
|
Matthew Wild
|
661b30bfc7
|
net.http: Fix to send query part of URL to server
|
2009-01-15 04:08:06 +00:00 |
|
Matthew Wild
|
06ffda1881
|
net.http: Fix for callbacks being triggered multiple times for the same request
|
2009-01-14 03:06:26 +00:00 |
|
Matthew Wild
|
e50d22fcc4
|
core.httpserver: Rename request.responseheaders to the more logical request.headers
|
2009-01-12 04:02:29 +00:00 |
|
Matthew Wild
|
6b15ed47fd
|
Protected call for HTTP request callbacks, to catch errors
|
2009-01-08 02:04:06 +00:00 |
|
Matthew Wild
|
a3661957b6
|
Fix to prevent calling HTTP request callback twice with the same data
|
2009-01-08 02:02:35 +00:00 |
|
Matthew Wild
|
6b359b43a0
|
Small fix for logging in connlisteners (warning != warn)
|
2008-12-27 21:25:08 +00:00 |
|
Matthew Wild
|
b12f8a8177
|
Remove some debugging code that slipped in
|
2008-12-27 21:22:49 +00:00 |
|
Matthew Wild
|
b97b1db2a0
|
Fix specifying ports in config, and SSL support
|
2008-12-27 21:20:09 +00:00 |
|
Matthew Wild
|
89eb3c5d00
|
Remove logging for server.lua
|
2008-12-27 21:18:12 +00:00 |
|
Matthew Wild
|
cabcee1bd0
|
HTTP requests now have status code as a number instead of a string. Switched parameters on both http.request() and the callback to better match LuaSocket's http module
|
2008-12-25 03:05:06 +00:00 |
|
Matthew Wild
|
6f71936ac3
|
Adding initial net.httpserver (lots of work to do on it)
|
2008-12-22 22:12:11 +00:00 |
|
Matthew Wild
|
97c4dc41bd
|
Fix nil status code for http request callbacks
|
2008-12-22 22:01:49 +00:00 |
|
Matthew Wild
|
b922b642ef
|
Fix data loss when closing connection with a large write queue. Thanks albert :)
|
2008-12-18 20:01:09 +00:00 |
|
Matthew Wild
|
e2d0d043df
|
Second merge from waqas
|
2008-12-16 02:40:50 +00:00 |
|
Matthew Wild
|
85e074d8b8
|
Change xmlhandlers to match stream opening tag with ns+tag
|
2008-12-16 02:33:08 +00:00 |
|
Matthew Wild
|
1fb0452d0c
|
Protect loading of connlisteners, to catch errors
|
2008-12-16 02:32:01 +00:00 |
|
Waqas Hussain
|
d3d9a986ba
|
Fixed URL encoding to generate %0x instead of %x
|
2008-12-16 03:46:17 +05:00 |
|
Matthew Wild
|
f0b2f41771
|
Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua
|
2008-12-13 14:30:59 +00:00 |
|
Matthew Wild
|
3f57f03f11
|
Oops, don't call server.loop() because we'll be running inside the server
|
2008-12-12 04:38:22 +00:00 |
|
Matthew Wild
|
d18299fec9
|
Pass HTTP request object to callback
|
2008-12-12 04:30:35 +00:00 |
|
Matthew Wild
|
4b6cff1b8d
|
HTTP request callbacks now: handler(code, content) (where code may be 0, and content an error message)
|
2008-12-12 04:16:35 +00:00 |
|
Matthew Wild
|
48891b0925
|
Non-blocking HTTP requests (adding net.http)
|
2008-12-12 04:06:15 +00:00 |
|
Matthew Wild
|
d3ad4a5123
|
0.1 -> 0.2
|
2008-12-10 15:44:03 +00:00 |
|
Matthew Wild
|
fab808b050
|
Fix blank tracebacks for c2s/s2s connections
|
2008-12-10 15:27:01 +00:00 |
|
Matthew Wild
|
0100a70831
|
stanza_dispatch != dispatch_stanza
|
2008-12-07 22:55:18 +00:00 |
|
Matthew Wild
|
d3e7e2f1a7
|
Typo in variable name in last commit
|
2008-12-07 19:12:50 +00:00 |
|
Matthew Wild
|
1fedb0c649
|
stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and sessionmanager for the new syntax
|
2008-12-07 19:04:23 +00:00 |
|
Matthew Wild
|
3677718813
|
Code tidying for xmpp{client,server}_listeners
|
2008-12-06 23:16:46 +00:00 |
|
Matthew Wild
|
1142f30838
|
Remove old commented code from server.lua
|
2008-12-06 23:12:46 +00:00 |
|
Matthew Wild
|
d9173986d5
|
Re-commit TLS fix
|
2008-12-05 19:55:46 +00:00 |
|
Matthew Wild
|
fe6e46a55f
|
Merge
|
2008-12-05 19:50:34 +00:00 |
|
Matthew Wild
|
c016526d9d
|
Backed out changeset 099d8a102deb (committed too much)
|
2008-12-05 19:49:16 +00:00 |
|
Matthew Wild
|
b2afc52730
|
Don't say we need TLS after we've already started the handshake
|
2008-12-05 19:40:46 +00:00 |
|
Matthew Wild
|
0d2b952b61
|
Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections
|
2008-12-05 19:24:01 +00:00 |
|
Matthew Wild
|
32371bbb23
|
Comment out debug logging for now
|
2008-12-05 19:22:34 +00:00 |
|
Matthew Wild
|
f334846311
|
Remove linger option on sockets, made no difference, and I forgot to remove it earlier
|
2008-12-05 19:21:44 +00:00 |
|
Matthew Wild
|
7c9f4818c3
|
Remove an incorrect line which I didn't add, and fix the proper way. Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings.
|
2008-12-05 05:23:42 +00:00 |
|
Matthew Wild
|
7027c01125
|
Disconnect with stream errors on bad XML, or invalid stream namespace
|
2008-12-05 02:02:57 +00:00 |
|
Matthew Wild
|
327c81737e
|
Abstract xmlhandlers a bit more, also add error callbacks
|
2008-12-04 18:47:26 +00:00 |
|
Matthew Wild
|
bf3bb39ea3
|
Fix logger ids for c2s and s2sout
|
2008-12-04 16:41:32 +00:00 |
|
Matthew Wild
|
00fd43edfd
|
Fix GPL'ing MIT/X licensed code :)
|
2008-12-03 16:44:03 +00:00 |
|
Matthew Wild
|
0c5cc83112
|
Insert copyright/license headers
|
2008-12-03 14:39:07 +00:00 |
|
Matthew Wild
|
428e9e1313
|
Fix for loading connlisteners when running without CFG_SOURCEDIR
|
2008-11-29 15:13:30 +00:00 |
|
Matthew Wild
|
7271c148ce
|
Update Makefile to now pass config paths to prosody. Update prosody, modulemanager and connectionlisteners to obey these paths.
|
2008-11-29 03:27:50 +00:00 |
|
Matthew Wild
|
121e93a07a
|
Merge from waqas
|
2008-11-28 18:06:29 +00:00 |
|