On Mon, 2010-08-30 at 10:54 +0200, Pet wrote:
> Hello!
> 
> I have modified Agent.request method (twisted.web.client.Agent) to
> pass timeout parameter to
> d = cc.connectTCP(host, port, timeout=timeout)
> 
> but it looks like timeout is ignored (cbConnected is called). Is this
> known issue?

Are you sure the connection happened after the timeout, not before?
Also, keep in mind that the timeout is only on the connection *attempt*,
once you're connected the timeout no longer applies.


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to