[ejabberd] mod_warm_bindings incompatible with 2.1.4

Theo Cushion theo at jivatechnology.com
Wed Jun 30 18:10:35 MSD 2010


Hi

I wrote [mod_warm_bindings](http://github.com/theoooo/ 
mod_warm_bindings) and it's been working great with 2.1.0. However,  
I've noticed that 2.1.4 breaks it.

Essentially I send off a stanza such as:

     <?xml version="1.0"?>
     <body xmlns="http://jabber.org/protocol/httpbind"
           xmlns:xmpp="urn:xmpp:xbosh"
           rid="1989576314"
           to="theo.local"
           xml:lang="en"
           wait="60"
           hold="1"
           window="5"
           content="text/xml; charset=utf-8"
           ver="1.6" xmpp:version="1.0"/>

To ejabberd_http_bind:process_request, just like [http_prebind](http://github.com/skeltoac/http_prebind 
)

Instead of receiving a [session creation response](http://xmpp.org/extensions/xep-0124.html#example-2 
)

I get:

     <body type='terminate'
           xmlns='http://jabber.org/protocol/httpbind'/>

I've been scratching my head for a while and cannot figure it out.

Any ideas?

Cheers

Theo


More information about the ejabberd mailing list