Tcl Source Code

Artifact [b6d1b9e0db]
Login

Artifact b6d1b9e0db3f56d9f329ef8bec1ed0eb652e52bb:

Ticket change [b6d1b9e0db] - Ticket [0f94f855ca] Infinite loop on writing to TLS channel on negotiation failure status still Open with 3 other changes by apnadkarni 2015-03-27 12:56:56.
D 2015-03-27T12:56:56.693
J icomment Tracing\sthrough\sthe\scode,\sthe\sloop\sis\scaused\sby\sthe\sfollowing\ssequence:\r\n\r\n-\sThe\sTLS\snegotiation\sis\sinitiated\sby\sthe\sflush\r\n-\sNegotiation\sfails\sand\sthe\sremote\send\scloses\sthe\sunderlying\sTCP\ssocket\r\n-\sTls_WaitForConnect\sdetects\sEOF\sand\sreturns\s0\s(lines\s916-7\sin\stlsIO.c)\r\n-\sThe\sreturn\svalue\sbubbles\sup\sto\sFlushChannel\swhich\streats\sthis\sas\sthe\snumber\r\nof\sbytes\swritten\s(tclIO.c\sline\s2694),\sdecrements\sthe\swrite\scount\sby\sthis\snumber\s(0)\sand\sloops\saround\sto\swrite\sagain\swhich\sgets\sdispatched\sto\sTls_WaitForConnect.\sWhich\sgets\sus\sback\sto\sthe\sprevious\sstep.
J login apnadkarni
J mimetype text/plain
K 0f94f855cafed92d0e174b7d835453a02831b4dd
U apnadkarni
Z 952ee4fe7d088b61b8a596440c1291e4