Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #21774
Closed
Open
Issue created Mar 19, 2017 by Trac@tracbot

Fix CONN_BW event listening

The ConnectionBandwidthEvent overwrites the type field of the Event class. Therefore the method _handle_event in control.py erroneously checks if the connection type (if it is a ConnectionBandwidthEvent) is contained in the event listeners list. All in all you can't receive CONN_BW events in stem. I fixed it by renaming the type of the ConnectionBandwidthEvent to conn_type.

My changes can be found here: https://github.com/kithack/stem/commit/23fe7b6cbd69c6209657c9531a21502a67ecf5e5

Trac:
Username: timonh

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking