5.0.8
- Fix: handle OPEN message with zero capabilities without crashing.
Capabilities.unpack()read the parameter type byte before checking whether the Optional Parameters Length was zero, raisingIndexErrorwhen a peer sent an OPEN with no optional parameters at all (a valid single0x00byte payload per RFC 4271). The early-return guard sat below the offending read so it never helped. Alternative to #1375.