<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Ok finally fixed the damn thing. I made the packets smaller and created a task in the .tac file to call a  routine that send the message parts piece by piece.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><VAR id=yui-ie-cursor></VAR></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks,</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Gazza</SPAN></div>
<div style="RIGHT: auto"><BR style="RIGHT: auto"></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT size=2 face=Arial><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> gary clark <burslem2001@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> gary clark <burslem2001@yahoo.com>; Twisted general discussion <twisted-python@twistedmatrix.com>; Twisted general discussion <twisted-python@twistedmatrix.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Saturday, July 27, 2013 2:38 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Twisted-Python] ugh open-ssl and twisted python<BR></FONT></DIV>
<DIV class=y_msg_container><BR>
<DIV id=yiv2830803810>
<DIV>
<DIV style="BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000; FONT-SIZE: 12pt">
<DIV><SPAN>Ok split my data up into smaller fragments. It still look like its reassembing the whole payload</SPAN></DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN>before sending it to the client. I'm calling transport.write(partdata) multiple times with a 0.5 second delay running in a twisted thread. How can I force the write to happen straight away in twisted.</SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>Sorry for all the questions.</SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>Thanks,</SPAN></DIV>
<DIV><SPAN>Gazza<VAR id=yiv2830803810yui-ie-cursor></VAR></SPAN></DIV>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=yiv2830803810hr></DIV><FONT size=2 face=Arial><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> gary clark <burslem2001@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Twisted general discussion <twisted-python@twistedmatrix.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Saturday, July 27, 2013 12:36 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Twisted-Python] ugh open-ssl and twisted python<BR></FONT></DIV>
<DIV class=yiv2830803810y_msg_container><BR>
<DIV id=yiv2830803810>
<DIV>
<DIV style="BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000; FONT-SIZE: 12pt">
<DIV>Guys,</DIV>
<DIV> </DIV>
<DIV>Its the MTU size. Anything bigger than 1500 bytes is getting fragmented.<BR>Using wireshark I'm seeing TCP Previous segment lost anything bigger than 1500. However once that</DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px">happens things go south and remain there.<VAR id=yiv2830803810yui-ie-cursor></VAR></DIV>
<DIV> </DIV>
<DIV>Oh boy one day I will learn but not today.</DIV>
<DIV> </DIV>
<DIV>Cheers,</DIV>
<DIV>Gazza</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=yiv2830803810hr></DIV><FONT size=2 face=Arial><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> "exarkun@twistedmatrix.com" <exarkun@twistedmatrix.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Twisted general discussion <twisted-python@twistedmatrix.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Saturday, July 27, 2013 12:27 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Twisted-Python] ugh open-ssl and twisted python<BR></FONT></DIV>
<DIV class=yiv2830803810y_msg_container><BR>On 04:08 pm, <A href="mailto:burslem2001@yahoo.com" rel=nofollow target=_blank ymailto="mailto:burslem2001@yahoo.com">burslem2001@yahoo.com</A> wrote:<BR>> Hello,<BR>> <BR>> This problem has been driving me crazy for a couple of days. I'm hoping someone can shed some light<BR>> on this. I have a twisted server its using open-ssl (using certificates) and runs on linux and communicates great with a windows client thats send messages every second.<BR>> <BR>> However when I send data back to the client "sometimes" it doesnt receive the packet and there is no indication of failure at the client whats more I dont see any failure on the twisted server end. Is there any way I can tell what could cause this failure? It just look like the transport.write(data) fails just dont know why it would when receiving works like a charm.<BR>> <BR>> Any help on this would relieve the pain I'm
 feeling right now.<BR><BR>Please see http://sscce.org/<BR><BR>Jean-Paul<BR><BR>_______________________________________________<BR>Twisted-Python mailing list<BR><A href="mailto:Twisted-Python@twistedmatrix.com" rel=nofollow target=_blank ymailto="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</A><BR>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<BR><BR><BR></DIV></DIV></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>Twisted-Python mailing list<BR><A href="mailto:Twisted-Python@twistedmatrix.com" rel=nofollow target=_blank ymailto="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</A><BR><A href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" rel=nofollow target=_blank>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</A><BR><BR><BR></DIV></DIV></DIV></DIV></DIV></DIV><BR><BR></DIV></DIV></DIV></div></body></html>