artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a9af0
)
Use break instead of return so that a HEAD request still consumes all data.
author
claudio
<claudio@openbsd.org>
Fri, 12 Aug 2022 08:40:25 +0000
(08:40 +0000)
committer
claudio
<claudio@openbsd.org>
Fri, 12 Aug 2022 08:40:25 +0000
(08:40 +0000)
OK op@
usr.sbin/httpd/server_fcgi.c
patch
|
blob
|
history
diff --git
a/usr.sbin/httpd/server_fcgi.c
b/usr.sbin/httpd/server_fcgi.c
index
4b2c269
..
e29ad99
100644
(file)
--- a/
usr.sbin/httpd/server_fcgi.c
+++ b/
usr.sbin/httpd/server_fcgi.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: server_fcgi.c,v 1.9
2 2022/08/12 06:41:41 op Exp $
*/
+/* $OpenBSD: server_fcgi.c,v 1.9
3 2022/08/12 08:40:25 claudio Exp $
*/
/*
* Copyright (c) 2014 Florian Obser <florian@openbsd.org>
@@
-584,7
+584,7
@@
server_fcgi_read(struct bufferevent *bev, void *arg)
((struct http_descriptor *)
clt->clt_descreq)->http_method
== HTTP_METHOD_HEAD)
-
return
;
+
break
;
if (server_fcgi_writechunk(clt) == -1) {
server_abort_http(clt, 500,
"encoding error");