Pablo Polvorin
c9db1f691c
Merge branch 'master' of git+ssh://git@gitorious.process-one.net/ejabberd/mainline
2010-11-29 16:56:32 -03:00
Pablo Polvorin
ef572c815f
Port to latest exmpp changes (attribute names as binary()).
...
All atributes are now binary() instead of atoms.
2010-11-29 16:44:31 -03:00
Christopher tofu Zorn
312574cbc5
add the ability to send raw xml packets over http bind
2010-11-29 20:06:00 +01:00
Alexey Shchepin
26550efd91
Don't loop when there is nothing after a stream start
2010-11-26 17:11:56 +01:00
Badlop
c2dface515
Fix http-bind supervisor to support multiple vhosts (EJAB-1321)
2010-11-17 20:30:37 +01:00
Andreas Köhler
690c56ca6d
Fix R12B5 compatibility in ejabberd_http_bind.erl (EJAB-1343)
...
erlang:max/2 and :min/2 are new functions
2010-11-17 13:03:59 +01:00
Badlop
404b9a4a11
Minor fix in http_bind detected by Dialyzer
2010-10-07 00:16:24 +02:00
Badlop
72b9d8b250
Remove unused and useless SVN keywords
2010-08-02 16:03:05 +02:00
Badlop
0b5bcaf74a
Remove some unused cases clauses
2010-06-22 00:11:41 +02:00
Badlop
6925f388e7
Fix previous commit (EJAB-1257)
2010-06-07 13:48:20 +02:00
Badlop
bc1b4163a2
New optional BOSH connection attribute process-delay (EJAB-1257)
2010-06-07 13:45:05 +02:00
Evgeniy Khramtsov
2187bccc38
consistent hashing support. WARNING: update exmpp before running this
2010-06-03 00:01:36 +10:00
Badlop
bd69e3ad6c
Remove useless loop and clean prepare_response (thanks to Christopher tofu Zorn)
...
1. Remove the silly loop that isnt needed,
this speeds up all requests by 100 milliseconds.
2. Clean up prepare response function and add two new functions to
handle out going payloads based of whether its a new session or not.
2010-05-28 00:40:07 +02:00
Christopher tofu Zorn
c13df5645e
typo on exported function
2010-05-20 20:45:57 +02:00
Christopher tofu Zorn
a76d3d46fc
expose more functions so developers can implement prebinding methods
2010-05-20 20:32:56 +02:00
Badlop
6129065cfa
Show parsing error in debug log message
2010-05-10 22:45:24 +02:00
Badlop
86eebc21b4
More fixes in BOSH, it seems to work now
2010-05-10 22:44:55 +02:00
Badlop
110819525f
Partially revert "Fix more HTTP-Bind", add proper fix: c2s works again, BOSH not yet
2010-05-10 13:56:58 +02:00
Christopher tofu Zorn
f84a1c88cf
Change max inactivity from 30 to 120 seconds
2010-05-06 20:55:08 +02:00
Christopher tofu Zorn
a1205f347f
Use dirty_delete when removing the session.
...
There is no need for a transaction and has less overhead
2010-05-06 20:55:03 +02:00
Badlop
674ee7f5f6
Fix more HTTP-Bind; now works with exmpp bosh_client, but not others yet.
2010-05-05 19:59:57 +02:00
Badlop
3259c1c2ea
Update some HTTP-Bind to work with exmpp; but doesn't work yet.
2010-04-14 16:50:32 +02:00
Mickael Remond
6d9094ceca
Move HTTP session timeout log from warning level to info. Timeout can be generated when user close the browser for example.
2010-03-14 10:30:01 +01:00
Badlop
ca1ac76108
Reduce verbosity of HTTP Binding log messages (thanks to Alexey Shchepin)
2010-02-19 00:08:04 +01:00
Badlop
27be3b400e
Cross-domain HTTP-Bind support (thanks to Jack Moffitt)(EJAB-1168)
2010-02-15 22:39:32 +01:00
Pablo Polvorin
0ddf0d10a5
Hibernate http-bind process after handling a request.
...
When using BOSH, this reduces memory consuption of the http-bind process, with negligible CPU impact.
SVN Revision: 2960
2010-02-05 13:34:09 +01:00
Badlop
e98df7acb1
exmpp fixes in http_bind (thanks to Karim Gemayel)
...
SVN Revision: 2929
2010-01-27 18:53:27 +00:00
Badlop
12573ed8d2
Body tag not properly closed in HTTP-Bind (thanks to Janusz Dziemidowicz)(EJAB-1075)
...
SVN Revision: 2686
2009-10-20 09:56:51 +00:00
Christophe Romain
bb1fca058d
Return terminal binding condition on max stanza size limit (thanks to Aleksey)
...
SVN Revision: 2602
2009-09-18 13:33:12 +00:00
Badlop
04e86829e3
Change some error messages.
...
SVN Revision: 2588
2009-09-07 14:31:34 +00:00
Badlop
095cd6ce9b
BOSH module optimization and clean-up (thanks to Aleksey Shchepin and Mickaël Rémond)(EJAB-936)
...
Unfortunately, http-bind doesn't work in this branch,
neither in this commit or before it.
SVN Revision: 2575
2009-08-31 18:40:25 +00:00
Badlop
338af10aaf
moved some log reports from error to debug level (thanks to Evgeniy Khramtsov)
...
SVN Revision: 2374
2009-07-20 09:21:42 +00:00
Badlop
13c76c12f8
Workaround to compile with exmpp
...
SVN Revision: 2324
2009-06-16 18:28:06 +00:00
Badlop
b49f8a81a8
Add forgotten copyright and license notices.
...
SVN Revision: 2321
2009-06-16 18:27:51 +00:00
Badlop
ab5b66facc
Easier debugging (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2320
2009-06-16 18:27:45 +00:00
Badlop
35c6ea68cc
Code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2319
2009-06-16 18:27:40 +00:00
Badlop
b74cb8828b
Started code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2318
2009-06-16 18:27:35 +00:00
Badlop
a1b84c6fa3
Replaced sha1 to hexadecimal transformation with sha:sha/1 call (thanks to Alexey Shchepin)
...
SVN Revision: 2317
2009-06-16 18:27:31 +00:00
Badlop
3e3d01063d
Replace TYPE/1 with is_TYPE/1 (EJAB-922)
...
SVN Revision: 2316
2009-06-16 18:27:27 +00:00
Badlop
c19cc61c48
Simplified code.(thanks to Michael Remond)
...
SVN Revision: 2315
2009-06-16 18:27:24 +00:00
Badlop
5854edafdd
Properly warn user and admin when mod_http_bind is not started.(thanks to Michael Remond)
...
SVN Revision: 2314
2009-06-16 18:27:18 +00:00
Badlop
2c33e72eea
Do not clear input when dispatching a get when we have nothing to output. (thanks to Geoff Cant)
...
SVN Revision: 2313
2009-06-16 18:27:14 +00:00
Badlop
24ab5026c9
Changed the place where database is created(thanks to Michael Remond)
...
SVN Revision: 2312
2009-06-16 18:27:10 +00:00
Badlop
c74ef80f79
Fix remote-stream-error stanzas
...
SVN Revision: 2311
2009-06-16 18:27:05 +00:00
Badlop
eeb11046d5
New option max_inactivity to configure maximum inactivity period (EJAB-512)
...
SVN Revision: 2310
2009-06-16 18:27:01 +00:00
Badlop
a1bce24461
Include condition in http-bind terminate body when service stops (EJAB-792)
...
SVN Revision: 2308
2009-06-16 18:26:53 +00:00
Badlop
1c2d0afd95
Fix unknown rid error (thanks to Jerome Sautret)
...
SVN Revision: 2307
2009-06-16 18:26:48 +00:00
Badlop
6e52ca3f4e
Implement packets reordering to avoid race conditions (EJAB-724).(thanks to Michael Remond)
...
SVN Revision: 2306
2009-06-16 18:26:44 +00:00
Badlop
1d1f72fdc2
Updated IP retrieving (thanks to Alexey Shchepin)
...
SVN Revision: 2305
2009-06-16 18:26:40 +00:00
Badlop
d25bd8c1c6
Improve ip fetching patch (thanks to Christohpe Romain)
...
SVN Revision: 2304
2009-06-16 18:26:36 +00:00