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.