I have a situation where a service I am using will occasionally not respond for considerable periods - hours not minutes.<div><br></div><div>I am using cooperate and yield to loop round a series of requests I want to make</div>
<div><br></div><div>The actual function to send the request returns a deferred to the yield. I add the callbacks onto this and set a calllater to fire in 30 seconds.</div><div><br></div><div>If that fires I can then cancel the deferred. But I think I ought to be cancelling the request as well else I assume I will be leaking request objects that might not get dealt with.</div>
<div><br></div><div>However, I can&#39;t see where I might cancel the request. Or should I be dropping the connection associated with the request and if so where would I be doing that.</div><div><br></div><div>Have I got that right?</div>
<div><br></div><div>Thanks for any info.</div><div><br></div><div>John Aherne</div><div><br></div>