[Twisted-web] Reply from earlier session causing code failures

Kottiyath Nair n.kottiyath at gmail.com
Tue Jan 27 05:05:10 EST 2009

    I use twisted-getPage to post a lot of data (5Kb separate elements) to
the server.
    Now, this data is sent every 5 seconds. The server can take upto 1-2
minutes to process the data and reply back. One issue that I am seeing is
that if I kill the sender (Cntrl+C) after I sent this data and then start it
immediately, the reply for the earlier message actually interferes with the
current process.
i.e. any further connections fails too - the error that comes is:
[Failure instance: Traceback (failure with no frames):
twisted.internet.error.ConnectionLost: Connection to the other side was lost
in a non-clean fashion.

If somebody could help me on this, I would be much thankful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20090127/1c=

More information about the Twisted-web mailing list