artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3102f6
)
Close the connection after the response is completed (no Keepalive yet).
author
reyk
<reyk@openbsd.org>
Sun, 13 Jul 2014 14:46:52 +0000
(14:46 +0000)
committer
reyk
<reyk@openbsd.org>
Sun, 13 Jul 2014 14:46:52 +0000
(14:46 +0000)
usr.sbin/httpd/server.c
patch
|
blob
|
history
diff --git
a/usr.sbin/httpd/server.c
b/usr.sbin/httpd/server.c
index
e963492
..
f461e5f
100644
(file)
--- a/
usr.sbin/httpd/server.c
+++ b/
usr.sbin/httpd/server.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: server.c,v 1.
2 2014/07/13 14:17:37
reyk Exp $ */
+/* $OpenBSD: server.c,v 1.
3 2014/07/13 14:46:52
reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@
-397,9
+397,9
@@
server_error(struct bufferevent *bev, short error, void *arg)
bufferevent_disable(bev, EV_READ|EV_WRITE);
clt->clt_done = 1;
+ server_close(clt, "done");
return;
-// server_close(con, "done");
}
server_close(clt, "buffer event error");
return;