What steps will reproduce the problem? 1. curl -X POST -k http://localhost:5280/http-bind --data-binary '<body xmlns="http://jabber.org/protocol/httpbind" rid="1" ver="1.6" to="localhost"/>' What is the expected output? <body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" condition="bad-request" type="terminate"/> What do you see instead? Traceback[httpserver]: plugins/mod_bosh.lua:280: attempt to compare nil with number What version of the product are you using? On what operating system? Reproducible from https://hg.prosody.im/0.10/rev/250855633092 until trunk as of today
Fixed in https://hg.prosody.im/trunk/rev/2e07d2f71599
What steps will reproduce the problem? 1. curl -X POST -k http://localhost:5280/http-bind --data-binary '<body xmlns="http://jabber.org/protocol/httpbind" rid="1" ver="1.6" to="localhost"/>' What is the expected output? <body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" condition="bad-request" type="terminate"/> What do you see instead? Traceback[httpserver]: plugins/mod_bosh.lua:280: attempt to compare nil with number What version of the product are you using? On what operating system? Reproducible from https://hg.prosody.im/0.10/rev/250855633092 until trunk as of today
Fixed in https://hg.prosody.im/trunk/rev/2e07d2f71599
Changes