Allow the Deferred returned by Agent.request to be cancelled

[email protected] Mon, 01 Mar 2010 02:00:00 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from exarkun <[email protected]>:

Cancelling the `Deferred` returned by `Agent.request` should fail the `Deferred` with a `CancelledError` and either:

  1. Cancel the connection setup attempt, if it is still in progress.
  1. Disconnect abort the in-progress request, if the connection has been set up and a request has been initiated.

This depends on #4329 to handle the former case.



----------
Type     : enhancement
Component: web
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/4330