Commit Graph

180 Commits (8a38579fa00e08ea10ff0eee2e4cdb7cd6bb1a3a)

Author SHA1 Message Date
Kim Alvefur 4cdc813fed mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) (fixes #540) 8 years ago
Kim Alvefur d0c3e64ff9 mod_bosh: Return implicit 404 instead of the proper BOSH terminate thing 8 years ago
Kim Alvefur 69f252bebf mod_bosh: Limit stream to current host (fixes #371) 8 years ago
Kim Alvefur c468196063 mod_bosh: Make into a normal module (fixes #402) 8 years ago
Kim Alvefur 330a365ca8 mod_bosh: Use module API to fire events 8 years ago
Kim Alvefur a8c7b08aac mod_bosh: Use moduleapi logger 8 years ago
Kim Alvefur ccbc346900 mod_bosh: Rename variable to avoid name clash [luacheck] 8 years ago
Kim Alvefur 94c9012f75 mod_bosh: Ignore unused argument [luacheck] 8 years ago
Kim Alvefur 0114f1dd6a mod_bosh: Remove unused variable [luacheck] 8 years ago
Emmanuel Gil Peyrot 974866de52 mod_bosh: Add ::1 to the default trusted_proxies. 9 years ago
Kim Alvefur 02fb1f6f66 mod_bosh: Update session.conn to point to the current connection (fixes #890) 9 years ago
Sam Whited 582a2180f2 mod_bosh: Save last response in case retransmission is required 10 years ago
Matthew Wild 7793746f3e mod_bosh: Update BOSH wait timeout logic to work despite the addition of deferred requests 10 years ago
Matthew Wild 96e00dbde1 mod_bosh: Fix typo 10 years ago
Matthew Wild 24ffa3ba68 mod_bosh: Make 'hold' and 'requests' fixed to '1' and '2' respectively, as this is what all implementations realistically use 10 years ago
Matthew Wild 4bb29b79ea mod_bosh: Log when a stanza isn't handled because we can't find a session for it 10 years ago
Matthew Wild c61ca6d7d0 mod_bosh: Correctly handle requests arriving out of order (thanks Jitsi folk!) 10 years ago
Kim Alvefur 6fe51ecd17 mod_bosh: Fix merge mistakes from c8923f882274 10 years ago
Kim Alvefur ac987c6332 mod_bosh: Add annotations to ignore unused arguments [luacheck] 10 years ago
Kim Alvefur 56574de036 mod_bosh: Remove unused imports (also mistake in merge) 10 years ago
Kim Alvefur 5de738348c mod_bosh: Fix imports that got lost in merge 10 years ago
Kim Alvefur 7ec3aac1af mod_bosh: Don't decrement rid twice (thanks av6) 10 years ago
Kim Alvefur acd12fcc61 mod_bosh: Reject fractional 'wait' (See #343) 10 years ago
Kim Alvefur a0757fdf85 mod_bosh: Return a proper BOSH error response from XML parse error callback (see #343) 10 years ago
Kim Alvefur cee9ce09a0 mod_bosh: Validate that 'sid' and 'wait' have sane values (fixes #475, also see #343) 10 years ago
Kim Alvefur 772dcf4e2b mod_bosh: Validate 'to' host (see #343) 10 years ago
Kim Alvefur 6b36fac8a3 mod_bosh: Return a proper BOSH error response instead of deprecated(?) status code (See #343) 10 years ago
Kim Alvefur fe7c4f17dd mod_bosh: Log error returned from stream:feed() 10 years ago
Kim Alvefur 525d4c2dd9 mod_bosh: Return if a response has been sent already (See #343) 10 years ago
Kim Alvefur f6c73521ec mod_bosh: Remove unused import 10 years ago
Emmanuel Gil Peyrot c6048a7cb4 Update every link to the documentation to use HTTPS 10 years ago
Kim Alvefur 5db607f37e mod_bosh: Skip sending stanzas removed out by filters (fixes #657) 10 years ago
Kim Alvefur 4f0eecb472 Backed out BOSH use of util.async (changeset f0687c313cf1) 10 years ago
Matthew Wild 3937d88358 mod_bosh: Fire event when BOSH session is created 10 years ago
Kim Alvefur 3918569c79 mod_bosh: Instead of a global once-per-second timer add a timer for each session when needed 10 years ago
Kim Alvefur 5e9f6df1ba mod_bosh: Use util.async 11 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild cab180216b mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, and shared modules make it easy for global modules to hook per-host now) 13 years ago
Matthew Wild b4da24a9cb mod_bosh: pcall() core_process_stanza per stanza, to bring in line with other listeners. This ensures that stanzas following a traceback-causing stanza in a request will still be processed (as would happen on normal c2s). 13 years ago
Matthew Wild 28d174b045 mod_bosh: Only pass stanza to core_process_stanza if it wasn't dropped by filters 13 years ago
Waqas Hussain 87170a4fde mod_bosh: Reduce a little code. 13 years ago
Matthew Wild 38e6533cbd mod_bosh: Make waiting_requests and dead_sessions shared to preserve across reloads 13 years ago
Waqas Hussain 6716198660 mod_bosh: Don't tostring() stream:features when passing to session.send(). 13 years ago
Waqas Hussain 8e44ad94a9 mod_bosh: Only return CORS headers if the Origin header is received, and CORS is enabled. 13 years ago
Waqas Hussain a22bd3606b mod_bosh: Return empty string from the OPTIONS event handler, don't return the response object itself. 13 years ago
Waqas Hussain e3784f09b9 mod_bosh: Rename event handler argument to event, not request. 13 years ago
Matthew Wild d06cad4628 mod_bosh: Remove logging of request.id, it doesn't exist in the new HTTP server API (thanks Mikael Nordfeldth) 13 years ago
Matthew Wild 2d2b6df7cb mod_bosh: Remove another place we set headers, fixes #348 13 years ago
Matthew Wild 70b2041049 mod_bosh: Clean up handling of response headers, set them only in one place 13 years ago
Matthew Wild b174c0dba2 mod_bosh: Return errors when appropriate (invalid XML, missing sid) 13 years ago