.
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\[email protected]
J login anonymous
J mimetype text/plain
J status Verified
J type Code\sDefect
J username [email protected]
K 94c6a431fee47acdb590ee3963704ef1d756a5cf
U anonymous
Z 9524873b0875ab008777f03f1aebf76b