artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
944a3fe
)
Add missing log call for FastCGI requests.
author
reyk
<reyk@openbsd.org>
Sun, 3 Aug 2014 10:38:42 +0000
(10:38 +0000)
committer
reyk
<reyk@openbsd.org>
Sun, 3 Aug 2014 10:38:42 +0000
(10:38 +0000)
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
5129bf1
..
d65d347
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.1
2 2014/08/02 17:42:24 florian Exp $
*/
+/* $OpenBSD: server_fcgi.c,v 1.1
3 2014/08/03 10:38:42 reyk Exp $
*/
/*
* Copyright (c) 2014 Florian Obser <florian@openbsd.org>
@@
-505,6
+505,9
@@
server_fcgi_header(struct client *clt, u_int code)
if (desc == NULL || (error = server_httperror_byid(code)) == NULL)
return (-1);
+ if (server_log_http(clt, code, 0) == -1)
+ return (-1);
+
kv_purge(&desc->http_headers);
/* Add error codes */