Change History (2)

Canceling the connection attempt leads to the Connector delivering connection failed notification to the factory, which the endpoint implementation intercepts. The endpoint implementation then tries to errback its result Deferred which is mid-cancelation at this point. Problems ensue.

The unit tests don't catch this because they use a fake Connector implementation that doesn't actually implement any Connector-like behavior at all.