]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- nph fix by weigon
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 4 Feb 2005 01:39:36 +0000 (01:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-nph.patch -> 1.1

lighttpd-nph.patch [new file with mode: 0644]

diff --git a/lighttpd-nph.patch b/lighttpd-nph.patch
new file mode 100644 (file)
index 0000000..6f4cdf2
--- /dev/null
@@ -0,0 +1,12 @@
+--- lighttpd-1.3.8/src/cgi.c~  2005-01-29 01:52:32.000000000 +0200
++++ lighttpd-1.3.8/src/cgi.c   2005-02-04 03:39:06.000000000 +0200
+@@ -338,6 +338,9 @@
+                       size_t used = 0;
+                       
+                       buffer_append_string_buffer(hctx->response_header, hctx->response);
++
++                      /* nph (no parsed headers) */
++                      if (0 == strncmp(hctx->response_header->ptr, "HTTP/1.", 7)) in_header = 1;
+                       
+                       /* search for the \r\n\r\n or \n\n in the string */
+                       for (c = hctx->response_header->ptr, cp = 0, used = hctx->response_header->used - 1; used; c++, cp++, used--) {
This page took 0.08288 seconds and 4 git commands to generate.