Skip to content
Tcl Source Code Artifact [9442d62b2f]
Login

Artifact [9442d62b2f]

Artifact 9442d62b2f0a973ab3213ca2ada7649c7c788466:

Ticket change [9442d62b2f] - Ticket [005871622748c6be|0058716227] <i>http-4.16 fails on novem on OSX sierra</i> status still Open with 4 other changes by dkf on 2017-08-02 23:34:49.
D 2017-08-02T23:34:49.739
J icomment This\sis\sa\srotten\stest\ssince\sit\sisn't\swell\sisolated.\sJust\srunning\sthe\stest\scase\sitself\sproduces\sno\sfailures,\sbut\salso\srunning\sthe\sother\shttp-4.1?\stests\sproduces\sfailures.\sHowever,\sif\swe\sintroduce\sa\sbit\sof\sprocessing\s(a\sone-way\sset\sdifference)\sthen\swe\sexclude\sall\sthe\sproblems\sdue\sto\sthe\spreceding\sstate\sand\sjust\slook\sfor\sif\sthere\sis\sstate\sleaking\sfrom\sthe\soperations\sactually\sdone\sin\sthis\stest.\r\n<p>\r\nIn\sother\swords,\schanging\sthe\stest\sto\sthis\smakes\sit\spass\s(and\sproduces\sfar\smore\scomprehensible\sresults\stoo):\r\n<pre>\r\ntest\shttp-4.16\s{Leak\swith\sClose\svs\sKeepalive\s(bug\s[6ca52aec14]}\s-setup\s{\r\n\s\s\s\sproc\slist-difference\s{l1\sl2}\s{\r\n\tlmap\sitem\s$l2\s{if\s{$item\sin\s$l1}\scontinue;\sset\sitem}\r\n\s\s\s\s}\r\n}\s-body\s{\r\n\s\s\s\sset\sbefore\s[chan\snames]\r\n\s\s\s\sset\stoken\s[http::geturl\s$url\s-headers\s{X-Connection\skeep-alive}]\r\n\s\s\s\shttp::cleanup\s$token\r\n\s\s\s\supdate\r\n\s\s\s\s#\sCompute\swhat\schannels\shave\sbeen\sunexpectedly\sleaked\spast\scleanup\r\n\s\s\s\slist-difference\s$before\s[chan\snames]\r\n}\s-cleanup\s{\r\n\s\s\s\srename\slist-difference\s{}\r\n}\s-result\s{}\r\n</pre>
J login dkf
J mimetype text/html
J username dkf
K 005871622748c6be3d1c7b4f743af7d772fa070f
U dkf
Z c83ac9526a036a67334c2652a01720ae