From 74dc588c7be9f122fd617c410ce67dad0851af12 Mon Sep 17 00:00:00 2001 From: reyk Date: Sun, 3 Aug 2014 10:38:42 +0000 Subject: [PATCH] Add missing log call for FastCGI requests. --- usr.sbin/httpd/server_fcgi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/httpd/server_fcgi.c b/usr.sbin/httpd/server_fcgi.c index 5129bf1ef2b..d65d3474553 100644 --- a/usr.sbin/httpd/server_fcgi.c +++ b/usr.sbin/httpd/server_fcgi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_fcgi.c,v 1.12 2014/08/02 17:42:24 florian Exp $ */ +/* $OpenBSD: server_fcgi.c,v 1.13 2014/08/03 10:38:42 reyk Exp $ */ /* * Copyright (c) 2014 Florian Obser @@ -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 */ -- 2.20.1