Lines 83-103
Link Here
|
83 |
The default root of the local web space. |
83 |
The default root of the local web space. |
84 |
.SH SIGNALS |
84 |
.SH SIGNALS |
85 |
.TP |
85 |
.TP |
86 |
--- server.c Thu Jan 20 00:21:19 2005 |
86 |
|
87 |
+++ server.c Wed Jul 27 13:24:28 2005 |
|
|
88 |
@@ -1783,10 +1783,11 @@ |
89 |
} else if(code < 400 && |
90 |
(content_range.from >= 0 || content_range.to >= 0 || |
91 |
content_range.full_length >= 0)) { |
92 |
- do_log(L_ERROR, "Range without partial content.\n"); |
93 |
- httpServerAbort(connection, 1, 502, |
94 |
- internAtom("Range without partial content")); |
95 |
- goto fail; |
96 |
+ do_log(L_WARN, "Range without partial content.\n"); |
97 |
+ /* Damn anakata. */ |
98 |
+ content_range.from = -1; |
99 |
+ content_range.to = -1; |
100 |
+ content_range.full_length = -1; |
101 |
} else if(code != 304 && code != 412) { |
102 |
full_len = len; |
103 |
} |