[Twisted-Python] problems with transport.write

Jason Rennie jrennie at gmail.com
Sat Apr 30 08:29:50 MDT 2011


On Thu, Apr 28, 2011 at 8:39 PM, gary clark <burslem2001 at 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-callfromthread.html

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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20110430/e07d9c0b/attachment-0001.html>


More information about the Twisted-Python mailing list