Tcl Source Code

Artifact [9e5678f685]
Login

Artifact 9e5678f685dc7c233b79a508c56b2607760610f2:

Ticket change [9e5678f685] - Open ticket [336441ed59]: socket -async stall on windows plus 6 other changes by oehhar 2014-04-29 20:00:01.
D 2014-04-29T20:00:01.697
J closer nobody
J icomment Andreas\shas\stested\sthe\spatch\son\s8.5\sand\sit\sfailed.\r\nHere\sis\shis\smessage:\r\n\r\nRunning\sour\sstackato.exe\sin\sa\sloop,\ssimply\sasking\sfor\sinformation\sfrom\r\nthe\starget,\swith\shttps\s(TLS)\sactive\sthe\sapplication\shangs\safter\sabout\r\n14-28\siterations,\swith\sabout\s14\siterations\sper\sminute,\sso\swithin\s1\sto\r\n2\sminutes.\sSymptom\sof\snot\saccepting\s^C\sis\sthe\ssame\sas\sbefore\sI\sshould\r\nnote.\r\n\r\nAfter\sactivating\sthe\s--debug-http-log\sit\sis\snot\shanging\sitself\swithin\r\n10\sminutes\sanymore.\r\nAs\sthat\soption\sonly\sactivates\smore\soutput,\si.e.\sintroduces\sdelays\sthis\r\nlooks\sas\sif\sthere\sis\sstill\sa\srace\scondition\spresent,\sold\sor\snew.\r\n\r\nThis\smeans\sthat\sI\swill\sstill\shave\sto\suse\smy\sfix\sand\sbranch\sof\sTcl\s8.5\r\nfor\sthe\sstackato\sclient,\sinstead\sof\shead.\r\nSorry\sabout\sthe\sbad\snews.\r\n\r\nThe\srough\soutline\sof\soperations\sdone\sin\sthe\sclient\sis:\r\n\r\n-1-\sregister\stls\sfor\shttps,\swith\shttp\r\n-2-\sopen\sa\shttps\s-async\ssocket\sto\sa\swebserver\r\n-3-\sread\ssome\sdata\sdata,\svia\sreadable\sfileevent\r\n-4-\sclose\sthe\ssocket\r\n-5-\sformat\sand\sprint\sdata\r\n\r\nNote\sthat\sthe\siterations\sI\sspeak\sof\shere\sare\salways\snew\sstackato\r\nprocesses,\swith\seach\sdoing\sthe\sabove.\sThe\siteration\sdoes\sNOT\shappen\sin\r\na\ssingle\sstackato\sprocess.\r\n\r\nThe\slast\stime\sI\shad\sto\sinvestigate\sthe\shang\shappend\sinside\sof\sTLS,\r\nduring\sthe\sopen\sof\sthe\ssocket,\si.e.\sstep\s2.\sThe\sTLS\stransform\sdoes\r\nsync\sread/writes\sto\sperform\sthe\sTLS\shandshake,\swithout\susing\r\nfileevents.\r\n\r\nI\ssuspect\sthat\sthis\sis\strue\sthis\stime\sas\swell.
J login oehhar
J mimetype text/plain
J resolution None
J status Open
J username oehhar
K 336441ed59c9f49fb2dc5414911f5c90c7acdec3
U oehhar
Z f7dbab7130293fc75af02e3e3804934c