Skip to content
Tcl Source Code Artifact [180a478e4e]
Login

Artifact [180a478e4e]

Artifact 180a478e4e1754f68a5aba3f2095a28f66c1890fadfff3c2af182c48773245f7:

Ticket change [180a478e4e] - Ticket [3382532fffffffff|3382532fff] <i>Synchronous geturl uses vwait</i> status still Open with 5 other changes by kjnash on 2022-09-10 12:07:04.
D 2022-09-10T12:07:04.134
J closer nobody
J icomment The\spatch\sno\slonger\sworks\swith\scurrent\shttp.\r\n\r\nThe\shttp\spackage\snow\shas\smore\sasynchronous\scode\sthan\sit\sdid\swhen\sthis\sbug\swas\sfiled\sin\s2011.\s\shttp::Event\shas\sbeen\smade\sinto\sa\scoroutine\sthat\syields\sto\sthe\sevent\sloop,\swith\sthe\sconnection\smade\spermanently\snon-blocking,\sin\sorder\sto\simplement\sHTTP/1.1\spipelining.\s\sPart\sof\shttp::geturl\swas\sgiven\sthe\ssame\streatment\sin\sorder\sto\sprevent\sblocking\sduring\ssocket\sconnection.\s\sMany\susers\swant\shttp::geturl\sto\sbe\sasynchronous\sand\sto\savoid\slong-running\sevents\sthat\sblock\sa\sreturn\sto\sthe\sevent\sloop.\r\n\r\nThese\srecent\srevisions\sare\snot\sneeded\sfor\sa\ssynchronous\sHTTP\sconnection.\s\sThe\ssimplest\sway\sto\simplement\ssynchronous\shttp::geturl\swould\sbe\sto\suse\san\searlier\sversion\sof\shttp\swith\sthe\spatch\sprovided\sby\sferrieux.\s\sHowever,\sthe\sissues\swith\s-queryprogress,\s-querychannel,\s-channel,\sand\s-timeout\swould\sremain.\r\n\r\nAn\salternative\smight\sbe\sto\suse\sa\ssynchronous\sthread::send\sto\srun\shttp::geturl\sasynchronously\sin\sanother\sthread.\s\sHowever\sthere\swill\sbe\sissues\sabout\show\smuch\sof\sthe\sscript\swould\sneed\sto\sbe\saccessible\sto\sthe\sthread\srunning\sgeturl.\s\sThe\s-proxyfilter,\s-progress\sand\s-queryprogress\scommands,\sthe\sfile\ssockets\sused\sby\s-channel\sand\s-querychannel,\scookies,\sTLS\sand\sthe\scertificate\sstore,\setc.\r\n\r\nI\sdo\snot\ssee\san\seasy\sway\sto\sdo\ssynchronous\shttp::geturl\swithout\sthe\svwait\snesting\sproblem.
J login kjnash
J mimetype text/plain
J severity Minor
K 3382532fffffffffffffffffffffffffffffffff
U kjnash
Z 86ea5ba341bbe0a2fee685b9dc2db18b