This was filed as bugzilla bug #111 but its getting rather crucial that we find a workaround. Should we be using webjah.pl to provide JEP-0025 support?
We're getting ready to release an AJAX framework with XMPP and we want to use
JEAI as the reference server platform.
I'm using the repos 1.1 download and running JEAI with repos:start(jeai).
Here's the feedback from a developer:
Due to a bug on Mozilla prior to the 1.8 trunk (Deer Park Alpha 2 et. al) the
XMPP stuff won't work with the Erlang polling. the bug is that Mozilla puts a
leading and trailing cr/lf on the content and misreports the Content-length by 2
bytes. Seems that the Erlang-based server gets very unhappy about this and
decides not to reply to the client so the client hangs.
IE seems to do things right so i've been able to get the chat to work on IE, and
also on the latest Mozilla builds. but FF1.0
Here's a completely untested
Here's a completely untested stab-in-the-dark patch. It's strange that these functions sometimes return a
bad_request
atom, but no code tests for that return value... maybe someone with more time and expertise knows why.Great job!
Looks like you nailed the problem.
We're now running the latest OTP and ejabberd with your patch under an ancient version of FreeBSD -- http-polling works across the browser versions.