On Thu, Apr 28, 2011 at 8:39 PM, gary clark <burslem2001@yahoo.com> wrote:
It fails by writing a large string at the server side and not receiving any data at the client. The client uses open-ssl and is blocking to receive data. I dont know if its possible to determine if the write was successful or not on the server side i.e knowing how many bytes were written etc. I dont see any exceptions. The connection is still maintained and like I said its intermittent. So when a transport.write occurs is there an api I can use to see if it was successful?
Are you using threads on the server side? If so, are you using callFromThread? http://pythonquirks.blogspot.com/2011/01/twisted-callwhenrunning-callfromthr... Can you create a SSCCE (http://sscce.org/) and show it to us? Jason -- Jason Rennie Research Scientist, ITA Software 617-714-2645 http://www.itasoftware.com/