summaryrefslogtreecommitdiff
blob: dbd867cf0b197e88a97c25d5d94c36b5f759a221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- mod_lisp2.c.orig	2005-12-24 23:04:20.000000000 +0100
+++ mod_lisp2.c	2005-12-24 23:05:09.000000000 +0100
@@ -58,13 +58,17 @@
 /* 
   Change log:
 
-  Fixed a declaration for some versions of gcc
-  -- Marc Battyani
-     2005-08-26
-
-  Set r->mtime directly
-  -- Dr. Edmund Weitz <edi@agharta.de>
-     2005-06-07
+   Handle Lisp data correctly if there's no Content-Length header
+   -- Dr. Edmund Weitz <edi@agharta.de>
+      2005-12-24
+
+   Fixed a declaration for some versions of gcc
+   -- Marc Battyani
+      2005-08-26
+
+   Set r->mtime directly
+   -- Dr. Edmund Weitz <edi@agharta.de>
+      2005-06-07
 
    Read data from Lisp even if it's a HEAD request
    Added "Lisp-Content-Length" header (send after "Content-Length" header to overwrite its value)
@@ -88,7 +92,7 @@
       2003-12-02
 */
 
-#define VERSION_STRING "1.2"
+#define VERSION_STRING "1.3"
 #define READ_TIMEOUT 60000000
 
 #include "httpd.h"
@@ -673,7 +677,6 @@
     }
 
   /* Copy the reply entity from Lisp to the client...  */
-  if (content_length > 0)
   {
     unsigned int n_read = 0;
     input_buffer_t * buffer;