View | Details | Raw Unified | Return to bug 84167
Collapse All | Expand All

(-)/usr/local/src/ownports/polipo-stable/port/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	polipo
8
PORTNAME=	polipo
9
PORTVERSION=	0.9.8
9
PORTVERSION=	0.9.8
10
PORTREVISION=	1
10
CATEGORIES=	www
11
CATEGORIES=	www
11
MASTER_SITES=	http://www.pps.jussieu.fr/~jch/software/files/polipo/ \
12
MASTER_SITES=	http://www.pps.jussieu.fr/~jch/software/files/polipo/ \
12
		http://www.sax.de/~frank/polipo4bsd/files/
13
		http://www.sax.de/~frank/polipo4bsd/files/
(-)/usr/local/src/ownports/polipo-stable/port/files/patch-aa (+18 lines)
Lines 83-85 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
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
     }
(-)/usr/local/src/ownports/polipo-stable/port/files/polipo.sh.in (-1 / +1 lines)
Lines 4-10 Link Here
4
# PROVIDE: polipo
4
# PROVIDE: polipo
5
# REQUIRE: NETWORK
5
# REQUIRE: NETWORK
6
# BEFORE:  NETWORK
6
# BEFORE:  NETWORK
7
# KEYWORD: FreeBSD
7
# KEYWORD: FreeBSD shutdown
8
8
9
. %%RC_SUBR%%
9
. %%RC_SUBR%%

Return to bug 84167