hproxy: force connection close

This commit is contained in:
cinap_lenrek 2012-07-06 16:02:44 +02:00
parent b811bb8876
commit 115f14f144

View file

@ -85,7 +85,7 @@ main(void)
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)