summaryrefslogtreecommitdiff
path: root/www/polipo/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/polipo/files/patch-aa')
-rw-r--r--www/polipo/files/patch-aa18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/polipo/files/patch-aa b/www/polipo/files/patch-aa
index 05c762f04e4c..6b61212d3dbc 100644
--- a/www/polipo/files/patch-aa
+++ b/www/polipo/files/patch-aa
@@ -83,3 +83,21 @@
The default root of the local web space.
.SH SIGNALS
.TP
+--- server.c Thu Jan 20 00:21:19 2005
++++ server.c Wed Jul 27 13:24:28 2005
+@@ -1783,10 +1783,11 @@
+ } else if(code < 400 &&
+ (content_range.from >= 0 || content_range.to >= 0 ||
+ content_range.full_length >= 0)) {
+- do_log(L_ERROR, "Range without partial content.\n");
+- httpServerAbort(connection, 1, 502,
+- internAtom("Range without partial content"));
+- goto fail;
++ do_log(L_WARN, "Range without partial content.\n");
++ /* Damn anakata. */
++ content_range.from = -1;
++ content_range.to = -1;
++ content_range.full_length = -1;
+ } else if(code != 304 && code != 412) {
+ full_len = len;
+ }