Ticket #5117 defect new

Opened 2 years ago

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.

Note: See TracTickets for help on using tickets.