#1240 proxy65: Traceback with all ports disabled

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

    What steps will reproduce the problem? 1. proxy_ports = {} 2.<iq id='1' to='streamer.example.com' type='get'> <query xmlns='http://jabber.org/protocol/bytestreams'/> </iq> What is the expected output? <iq from='streamer.example.com' id='1' type='result'> <query xmlns='http://jabber.org/protocol/bytestreams'> <streamhost host='24.24.24.1' jid='streamer.example.com' port='7625'/> </query> </iq> What do you see instead? Traceback due to proxy_port is nil when formatting the <streamhost/> Affects 0.9.0 and later. Problem was introduced with the change to portmanager. An empty proxy_ports could be used in combination with multiplexing.

  2. Zash on

    Fixed in https://hg.prosody.im/0.10/rev/e31053344231

    Changes
    • owner Zash
    • tags Milestone-0.10 Status-Fixed

New comment

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