Artifact [5eac592725]

Artifact 5eac592725b07e08d3477c84aed0b3f373199301af3ea3a5fbf5a1214c09856c:

Ticket change [5eac592725] - Verified ticket [94c6a431fee47acd|94c6a431fe]: <i>Buffering until timeout</i> plus 5 other changes by anonymous on 2018-10-22 21:01:25.
D 2018-10-22T21:01:25.467
J icomment Hi,\r\n\r\nWe\shave\sthe\ssame\sproblem\sand\sI\swas\sable\sto\spinpoint\sit\safter\slearning\stcl\schannel\sframe.\r\n\r\n1.\sIn\s"tlsWatchProc"\sof\stlsIO.c,\sthe\scondition\sto\screate\stimer\sis\snot\scovering\sall\scases.\s\sIt\sshould\salso\scheck\sthe\sBIO\sbuffer.\r\nThe\sline\sshould\sread:\r\nif\s((mask\s&\sTCL_READABLE)\s&&\r\n\s\s\s\s(Tcl_InputBuffered(statePtr->self)\s>\s0\s||\sBIO_ctrl_pending(statePtr->bio)\s>\s0))\s{\r\n...............\r\n}\r\n\r\n2.\s\sIn\s"BioCtrl"\sof\stlsBIO.c,\sthe\sresult\sof\sBIO_CTRL_PENDING\sshould\sbe:\r\nret\s=\s((chan)\s?\sTcl_InputBuffered(chan)\s:\s0);\r\nNOT\sret\s=\s((chan)\s?\s1:\s0);\r\n\r\nSecond\serror\scaused\sBIO_ctrl_pending\salways\sreturn\s1\seven\sno\sdata\savailable.\r\n\r\nPlease\slet\sme\sknow\safter\syou\spush\sour\sthe\spatch.\r\n\r\nBest,\r\n\r\nJinhu\r\njinhu@stanford.edu
J login anonymous
J mimetype text/plain
J status Verified
J type Code\sDefect
J username jinhu@stanford.edu
K 94c6a431fee47acdb590ee3963704ef1d756a5cf
U anonymous
Z 9524873b0875ab008777f03f1aebf76b