http pre-binding?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
aaron's picture

I'm trying to set up http pre-binding but am having difficulties.

Firstly, if I send

<body content='text/xml; charset=utf-8' hold='1' rid='3775588' to='xmpp.example.com' route='http://xmpp.example.com:5280/http-bind/' ver='1.6' wait='60' ack='1' xml:lang='en' xmlns='http://jabber.org/protocol/httpbind'/>

I receive

<iq from='xmpp.example.com' to='username@xmpp.example.com/JabberClass' id='ver_a1e51180dd61e782339b9dd11d56dad7' type='result'><query xmlns='jabber:iq:version'><name>ejabberd</name><version>2.0.1</version><os>unix/linux 2.6.26</os></query></iq>

I'm expecting to receive a body stanza with an sid attribute. I assume that's not happening because I need to set up an HTTP pre-binding mod for ejabberd.

I'm trying to build the mod at http://github.com/thepug/Mod-Http-Pre-Bind but it crashes during the build:

# ./build.sh
{"init terminating in do_boot",{undef,[{make,all,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

Any ideas of what I should do to get this working?

Thanks,
Aaron Winborn

(cross-posted at ejabberd.im and metajack.im)

Comments

mod_warm_bindings

darklrd's picture

I was working on integrating mod_warm_bindings(http://github.com/theoooo/mod_warm_bindings) with DXMPP which provides the similar functionality as mod_http_pre_bind but currently it supports only ejabberd 2.1.0 - 2.1.2 and is incompatible with its higher versions. I have created an issue here - http://github.com/theoooo/mod_warm_bindings/issues/issue/2.

XMPP

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week