pass_chunked()

Dag-Erling Smørgrav des at linpro.no
Thu Aug 10 09:45:28 CEST 2006


The following URL shows up blank:

http://www.dagbladet.no/kultur/2006/08/10/473490.html

the log shows:

01  31    0 Debug        [INCOMPLETE AT: pass_chunked(86)]

Is the following patch sufficient, or is it more complicated than I
think?

=== bin/varnishd/cache_pass.c
==================================================================
--- bin/varnishd/cache_pass.c   (revision 30982)
+++ bin/varnishd/cache_pass.c   (local)
@@ -83,8 +83,9 @@

                u = strtoul(p, &q, 16);
                if (q == NULL || (*q != '\n' && *q != '\r')) {
-                       INCOMPL();
-                       /* XXX: move bp to buf start, get more */
+                       bp = p = buf;
+                       be = buf + sizeof buf;
+                       continue;
                }
                if (*q == '\r')
                        q++;

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-dev mailing list