Opened 6 years ago
#5117 defect new
Calling transport.unregisterProducer when no producer is registered silently fails
|Reported by:||Itamar Turner-Trauring||Owned by:|
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.