Kim Alvefur
|
9114e88ee0
|
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
|
14 years ago |
Kim Alvefur
|
6794744053
|
mod_bosh: Use new format for headers when checking for proxies to get the originating IP
|
14 years ago |
Matthew Wild
|
1c363caf5d
|
mod_bosh: Set Content-Type to text/html for GET response (thanks Medics)
|
14 years ago |
Matthew Wild
|
5b1691012f
|
mod_bosh: Remove unused send_buffer variable
|
14 years ago |
Matthew Wild
|
5f2142959c
|
mod_bosh: Fix request/response mixup
|
14 years ago |
Matthew Wild
|
1c5625ca7d
|
mod_bosh: Remove unused import of util.timer
|
14 years ago |
Matthew Wild
|
568e94ab15
|
mod_bosh: Remove unused import of net.httpserver
|
14 years ago |
Matthew Wild
|
ff9ffc2351
|
mod_bosh: Add routes without trailing-'/', so that both /http-bind and /http-bind/ work again
|
14 years ago |
Matthew Wild
|
fbbc658469
|
mod_bosh: Update informational message on GET
|
14 years ago |
Matthew Wild
|
7a7b03129d
|
mod_bosh: Large commit to update to mod_http/net.http.server APIs. Becomes a shared module.
|
14 years ago |
Matthew Wild
|
7510803cce
|
mod_bosh: Optimisation, store reply_before value as waiting_requests value (saves a lookup)
|
14 years ago |
Matthew Wild
|
01fbb05094
|
mod_bosh: Log error on BOSH parse failure (thanks daurnimator)
|
14 years ago |
Kim Alvefur
|
3c2e464d58
|
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()
|
14 years ago |
Waqas Hussain
|
e246f6a8d7
|
mod_bosh: Remove unused reference to lxp
|
14 years ago |
Waqas Hussain
|
9e2f76f84b
|
mod_bosh: Fixed use of a private HTTP request property.
|
14 years ago |
Matthew Wild
|
b212e28356
|
mod_bosh: Experimental option 'bosh_auto_cork' which witholds any response to a request until all stanzas in it have been processed.
|
14 years ago |
Matthew Wild
|
65e0b32a7e
|
mod_bosh: Move stream:features sending until after the current request has been added to session.requests. Ensures correct inactivity logic.
|
14 years ago |
Matthew Wild
|
d968e72bfb
|
mod_bosh: Remove a session from inactive_sessions before destroying it
|
14 years ago |
Matthew Wild
|
6f147fde17
|
mod_bosh: Store time to destroy session in inactive_sessions, removing dependency on session.bosh_max_inactive in cleanup timer
|
14 years ago |
Matthew Wild
|
ac213cfcdd
|
mod_bosh: s/xmlns:streams/xmlns:stream/ - fixes #265 (thanks Tim)
|
14 years ago |
Matthew Wild
|
d4b99e90cf
|
mod_bosh: Update to use typed variants of module:get_option(), makes it more tolerant to config variations and simplifies the code.
|
15 years ago |
Matthew Wild
|
545961d983
|
mod_bosh: Fix logging when no sid present, fix a missing semi-colon, avoid an extra useless table lookup (thanks Thomas)
|
15 years ago |
Matthew Wild
|
16a24fc55f
|
Backout commit d6366294f618 which I was testing and didn't mean to push to 0.8
|
15 years ago |
Matthew Wild
|
b7ab106c48
|
mod_bosh: Fix terminate logic - process any stanzas in a terminating request, and add type='terminate' to any responses generated by those stanzas. Finally, close all remaining open requests with type='terminate' and close the session. Fixes #211 (thanks Maranda + waqas).
|
15 years ago |
Matthew Wild
|
3df725786b
|
mod_bosh: Mark a session as active when a request comes in, even if we don't end up holding that request, fixes BOSH ghosts (thanks smoku)
|
15 years ago |
Matthew Wild
|
d02f7c4700
|
mod_bosh: Fix terminate logic - process any stanzas in a terminating request, and add type='terminate' to any responses generated by those stanzas. Finally, close all remaining open requests with type='terminate' and close the session. Fixes #211 (thanks Maranda + waqas).
|
15 years ago |
Matthew Wild
|
a5cba5ec97
|
mod_bosh: Return true from send()
|
15 years ago |
Matthew Wild
|
7745bdd7d6
|
mod_bosh: Fix for miscalculating inactivity, causing disconnects under a steady stream of traffic
|
15 years ago |
Matthew Wild
|
71960dbef3
|
mod_bosh: Fix for miscalculating inactivity, causing disconnects under a steady stream of traffic
|
15 years ago |
Matthew Wild
|
d6e50241ad
|
mod_bosh: Fixes to the session creation response - add mandatory 'wait' attribute, remove optional 'maxpause' which we don't support, and reformat the code to prevent long lines and wacky indentation. Fixes #219.
|
15 years ago |
Matthew Wild
|
fb37ed2b04
|
mod_bosh: Fixes to the session creation response - add mandatory 'wait' attribute, remove optional 'maxpause' which we don't support, and reformat the code to prevent long lines and wacky indentation. Fixes #219.
|
15 years ago |
Matthew Wild
|
673d2cd2a3
|
mod_bosh: Switch to util.xmppstream from xmlhandlers
|
15 years ago |
Matthew Wild
|
68ba7d6d43
|
mod_bosh: Switch to util.xmppstream from xmlhandlers
|
15 years ago |
Waqas Hussain
|
7bdedfb4f7
|
mod_bosh: Use util.timer for timers instead of server.addtimer.
|
15 years ago |
Waqas Hussain
|
ad58924b05
|
mod_bosh: Use util.timer for timers instead of server.addtimer.
|
15 years ago |
Waqas Hussain
|
8e1bc4ff71
|
mod_bosh: Don't add a Content-Type header to the HTTP OPTIONS reply.
|
15 years ago |
Matthew Wild
|
36e12ad74a
|
mod_bosh: Fix traceback when initiating a BOSH session to an unknown host
|
16 years ago |
Matthew Wild
|
be6148a1eb
|
mod_bosh: Support for reading the client's real IP through HTTP proxies from X-Forwarded-For
|
16 years ago |
Matthew Wild
|
363d0578c0
|
mod_bosh: Don't adjust rid when creating a session, as this is no longer necessary and causes a log message ('rid too large') to be erroneously printed, fixes #203
|
16 years ago |
Matthew Wild
|
3deb503477
|
mod_bosh: Fix to properly ignore repeated requests
|
16 years ago |
Matthew Wild
|
1a9f9282fc
|
mod_bosh: Small change to use variable instead of hard-coded xmlns
|
16 years ago |
Matthew Wild
|
44014508ea
|
mod_bosh: Much improve session:close() for BOSH sessions, so it now matches in usage normal session:close()
|
16 years ago |
Matthew Wild
|
2f31218aa4
|
mod_bosh: Add error callback for xmlhandlers, to handle the case of invalid or unusable XML in the request payload
|
16 years ago |
Matthew Wild
|
37f77327fd
|
mod_bosh: Remove dependency on eventmanager
|
16 years ago |
Matthew Wild
|
88a0d25218
|
mod_bosh: Add jabber:client namespace to stanzas with no namespace
|
16 years ago |
Matthew Wild
|
a7048b7c93
|
mod_bosh: Re-layout session object creation to make lines shorter
|
16 years ago |
Matthew Wild
|
d20a2a83c7
|
mod_bosh: Add option consider_bosh_secure to treat BOSH sessions as encrypted even if they don't use HTTP (useful for when secure requests are proxied to Prosody over HTTP)
|
16 years ago |
Matthew Wild
|
95e01d796f
|
mod_bosh: Always give requests a destroy handler, so that the management of each session's request array and the inactive_sessions logic can happen in one place. Simplifies everything and concludes this series of BOSH fixes.
|
16 years ago |
Matthew Wild
|
2eb914de98
|
mod_bosh: Fix handling of rids by not dropping requests with repeated rids (assign them their sid instead), and always starting a session with first_rid-1.
|
16 years ago |
Matthew Wild
|
91492c1a60
|
mod_bosh: Remove some hacky code for pruning dead requests that hopefully never gets executed - if it does there's a bug anyway.
|
16 years ago |