Opened 3 years ago

#5117 defect new

Calling transport.unregisterProducer when no producer is registered silently fails

Reported by: itamar Owned by:
Priority: low Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

If there is no producer registered on a transport, calling unregisterProducer does not fail, but rather it does nothing (or perhaps calls startWriting(), depending on the implementation). Relevant implementations include twisted.internet.abstract, twisted.internet.iocpreactor.abstract and twisted.protocols.tls, maybe others as well.

Change History (0)

Note: See TracTickets for help on using tickets.