Use port=0 for dynamic port allocation in test framework components to avoid intermittent “address already in use” errors when running tests concurrently or when ports are stuck in TIME_WAIT state. Example: #29415 (review)
Changes:
- Update
socks5.pyandp2p.pyto support dynamic port allocation - Convert
feature_proxy.pyandfeature_anchors.pyto useport=0