[ejabberd] BOSH connection warming
dan at greywallsoftware.com
Sat Oct 8 01:33:50 MSD 2011
I wasn't aware of pre-binding until now, but it's something I'm interested
in. I'm still on the 2.1.x series (actually my production server runs 2.1.5
because that's what shipped with Ubuntu and I haven't figured out how to
cleanly upgrade it).
The technique I'm using instead is one that works, but it's not the world's
most elegant thing. I generate tokens and store them in a database, then use
an extauth program that validates these as if they were real passwords. It
mitigates risk of setting a persistent password and sending it to the user
every time they log in, but the overhead is even a bit higher than it would
be using internal auth.
The system I have works well enough for now, but I might be able to help
work on something here. One slight catch is that I use JsJAC instead of
Strophe because my existing client is based on it, so I'd have to sort that
On Thu, Oct 6, 2011 at 5:53 AM, Theo Cushion <theo at jivatechnology.com>wrote:
> What modules are people using to achieve HTTP BOSH pre binding (as per
> I'm aware of:
> - https://github.com/thepug/Mod-Http-Pre-Bind
> - https://github.com/skeltoac/http_prebind
> - https://github.com/theozaurus/mod_warm_bindings (my own module)
> However AFAIK none of these work past ejabberd 2.1.2. I've attempted
> several times to update mine, but so far no success.
> I've also seen these tickets on the bug tracker:
> - https://support.process-one.net/browse/EJAB-1128
> - https://support.process-one.net/browse/EJAB-1369
> One of the tickets refers to this project:
> - https://github.com/loe/Mod-Http-Pre-Bind
> However this appears to only work for 3.0.0
> Are people simply not using this technique anymore - if so, what technique
> are they using?
> Have people switched to 3.0.0 already?
> Am I completely missing something, and I can in fact get the goodness of
> 2.1.9 with one of these modules?
> ejabberd mailing list
> ejabberd at jabber.ru
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd