git: 9front

Download patch

ref: 1bc594bd79e8a8c8f72d37dbd612eecf51990fe7
parent: 6b324c2e7ef9b71f1ed242156555e8034d2a1595
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Fri Jul 6 12:02:44 EDT 2012

hproxy: force connection close

--- a/sys/src/cmd/ip/hproxy.c
+++ b/sys/src/cmd/ip/hproxy.c
@@ -85,7 +85,7 @@
 	default:
 		dup(fd, 1);
 		if(!con)
-			print("%s /%s %s\r\n%s", f[0], path, f[2], e);
+			print("%s /%s %s\r\nConnection: close\r\n%s", f[0], path, f[2], e);
 	}
 
 	while((r = read(0, buf, sizeof(buf))) > 0)
--