D 2026-09-16T22:48:07.956
J icomment Here's\sa\stest\sprogram\sthat\sreproduces\sthe\serror\son\sthe\ssecond\sloop\siteration\sfor\sme:\r\n\r\npackage\srequire\shttp\r\nset\surl\shttp://ftp.fau.de/macports/\r\nwhile\s1\s{\r\n\s\s\s\sif\s{![catch\s{::http::geturl\s$url\s-keepalive\s1}\stoken]}\s{\r\n\s\s\s\s\s\s\s\sif\s{[::http::status\s$token]\seq\s"ok"\s&&\s[::http::ncode\s$token]\s==\s200}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\sset\sdata\s[::http::data\s$token]\r\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s"page\sfetched\sok"\r\n\s\s\s\s\s\s\s\s}\selse\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\sputs\sstderr\s"HTTP\serror:\s[::http::error\s$token]"\r\n\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\s::http::cleanup\s$token\r\n\s\s\s\s}\selse\s{\r\n\s\s\s\s\s\s\s\sputs\sstderr\s$::errorInfo\r\n\s\s\s\s\s\s\s\sputs\sstderr\s"Error:\s::http::geturl\sreturned:\s$token"\r\n\s\s\s\s}\r\n\s\s\s\safter\s60000\r\n}
J login jmroot
J mimetype text/plain
K 05b158ed56d9e68249ce6f22fe49f3133c5b98ba
U jmroot
Z da1689236f420dbb6734346e56353ae3