[openfirmware] r1038 - ofw/inet
svn at openfirmware.info
svn at openfirmware.info
Sat Dec 20 08:13:33 CET 2008
Author: wmb
Date: 2008-12-20 08:13:33 +0100 (Sat, 20 Dec 2008)
New Revision: 1038
Modified:
ofw/inet/http.fth
Log:
HTTP - Added "Connection: close" to turn off connection persistence,
thus saving several seconds at the end of a transfer (no waiting for
the server to give up and close the connection).
Modified: ofw/inet/http.fth
===================================================================
--- ofw/inet/http.fth 2008-12-20 06:28:02 UTC (rev 1037)
+++ ofw/inet/http.fth 2008-12-20 07:13:33 UTC (rev 1038)
@@ -260,7 +260,7 @@
" GET " tcp-write ( send$ prefix$ server$ )
2swap tcp-write 2swap tcp-write ( server$ )
- " HTTP/1.1"r"nUser-Agent: FirmWorks/1.1"r"nHost: " tcp-write
+ " HTTP/1.1"r"nUser-Agent: FirmWorks/1.1"r"nConnection: close"r"nHost: " tcp-write
tcp-write " "r"n"r"n" tcp-write
" flush-writes" $call-parent
More information about the openfirmware
mailing list