summaryrefslogtreecommitdiffhomepage
path: root/contrib/axtls/patches/004-cgi-nph-mode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/axtls/patches/004-cgi-nph-mode.patch')
-rw-r--r--contrib/axtls/patches/004-cgi-nph-mode.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/axtls/patches/004-cgi-nph-mode.patch b/contrib/axtls/patches/004-cgi-nph-mode.patch
deleted file mode 100644
index 2b6cc5c434..0000000000
--- a/contrib/axtls/patches/004-cgi-nph-mode.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- axTLS/httpd/proc.c 2008-11-13 14:05:02.000000000 +0100
-+++ axTLS.new/httpd/proc.c 2008-11-13 16:07:12.000000000 +0100
-@@ -556,13 +556,13 @@
- int tmp_stdout;
- #endif
-
-- snprintf(cgienv[0], MAXREQUESTLENGTH,
-+ if (cn->reqtype == TYPE_HEAD)
-+ {
-+ snprintf(cgienv[0], MAXREQUESTLENGTH,
- HTTP_VERSION" 200 OK\nServer: %s\n%s",
- server_version, (cn->reqtype == TYPE_HEAD) ? "\n" : "");
-- special_write(cn, cgienv[0], strlen(cgienv[0]));
-+ special_write(cn, cgienv[0], strlen(cgienv[0]));
-
-- if (cn->reqtype == TYPE_HEAD)
-- {
- removeconnection(cn);
- return;
- }