Skip to content
Tcl Source Code Artifact [5c58656c78]
Login

Artifact [5c58656c78]

Artifact 5c58656c7828c309fefc1a50a81653639ce4e5c5:

Ticket change [5c58656c78] - New ticket [222072ffffffffff|222072ffff] <i>TLS (SSL) client loops before SSL becomes ready</i>. by nobody on 2000-11-09 19:23:19.
D 2000-11-09T19:23:19
J assignee nobody
J cmimetype text/plain
J comment A\snon-blocking\sclient\ssocket\sis\sin\sa\sactive\swait\s(spending\s100%\sof\sthe\sCPU)\sstate\sif\she\stries\sto\swrite\sbefore\sthe\sSSL\sis\sready\s(detected\susing\sthe\sSSL_is_finished\sfunction).\sThis\sdoesn't\shappen\sin\sthe\snon-blocking\sversion.\n\nIt\swas\sdetected\susing\sthe\stest/simpleClient.tcl\sscript\savailable\sfrom\sthe\sTLS\sextension,\sand\susing\sany\sSSL\sserver\sfrom\sthe\sInternet\s(the\sslower\sthe\sserver\sresponds\sto\sthe\sSSL\shandshake\sthe\sworser).\n\nIf\scompiling\sthe\sTLS\sin\sdebug\swe\sget\sthe\sfollowing\smessage\srepeated:\n\nBIO_write(0x27a448,\s16)\nWaitForConnect(0x27a448)\nBioRead(0x48fc20,\s<buf>,\s7)\s[0x27a048]\n[0x27a048]\sBioRead(7)\s->\s-1\s[0.11]\nERR(5,\s11)\nOutput(16)\s->\s-1\n\nAfter\swriting\sto\sthe\ssocket\sonce,\sthe\sTlsOutputProc\s(the\sTLS\soutput\scallback)\skeeps\sgetting\scalled\sin\sa\scycle\swasting\s100%\sof\sCPU,\suntil\sthe\sSSL_is_init_finished\sfunction\sreturns\s1.\s\n
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 63.\s(unused)
J title TLS\s(SSL)\sclient\sloops\sbefore\sSSL\sbecomes\sready
J type Bug
K 222072ffffffffffffffffffffffffffffffffff
U nobody
Z 9fb578ecaf7d5d0dcea883df6c55df22