#957 Caps in stream:features interfeers with attempt to detect connections that cannot proceed

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

    mod_c2s attempts to dectect whether there are any stream features offered by looking at the number of tags in the <stream:features> element. mod_disco adds a <c> caps element, which breaks this check. https://hg.prosody.im/0.10/file/f52cdad171b0/plugins/mod_disco.lua#l149 https://hg.prosody.im/0.10/file/f52cdad171b0/plugins/mod_c2s.lua#l90

  2. Zash on

    https://hg.prosody.im/0.10/rev/200f1f6306a7 should probably be checking c2s_unbound, not _unauthed. Going to correct that, which should fix this.

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

    Fixed in https://hg.prosody.im/0.10/rev/4d83876aac3e

    Changes
    • tags Status-Fixed

New comment

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