#1288 BOSH: Traceback on missing 'wait' attribute

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.11
  • Priority-Medium
  • Type-Defect
  • Status-Fixed
  1. Zash on

    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

  2. Zash on

    Changes
    • tags Milestone-0.11 Status-Started
    • owner Zash
  3. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/2e07d2f71599

    Changes
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.