Flush buffered socket output due to Jim behaviour change

This commit is contained in:
prpr 2024-01-31 22:23:19 +00:00
parent e0fd42c929
commit f9877ae35e

View File

@ -230,6 +230,7 @@ proc {pkg fetchfile} {url} {
$f puts -nonewline "Host: hpkg.tv\r\n"
$f puts -nonewline "Connection: close\r\n"
$f puts -nonewline "\r\n"
$f flush
# Skip headers in the response.
set line [string trim [$f gets]]