shithub: riscv

Download patch

ref: 115f14f1446cd1df75f35b885ca594ff61402568
parent: b811bb8876e8dd2c1f27bfe8c76374a3847f8e3c
author: cinap_lenrek <[email protected]>
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)