[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: r1585 - trunk/varnish-cache/bin/varnishd
From: phk () projects ! linpro ! no (phk at projects ! linpro ! no)
Date: 2007-06-27 12:43:09
Message-ID: 20070627124309.383DA1EC294 () projects ! linpro ! no
[Download RAW message or body]
Author: phk
Date: 2007-06-27 14:43:08 +0200 (Wed, 27 Jun 2007)
New Revision: 1585
Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Don't fill the entire workspace with read-ahead data.
Eventually we need to separate the "max http header size" from the
workspace size, but that will take a bit of pondering.
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2007-06-27 12:37:34 UTC (rev 1584)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2007-06-27 12:43:08 UTC (rev 1585)
@@ -631,6 +631,7 @@
int i;
l = (hp->ws->e - hp->rx_e) - 1;
+ l /= 2; /* Don't fill all of workspace with read-ahead */
if (l <= 1) {
VSL(SLT_HttpError, fd, "Received too much");
VSLR(SLT_HttpGarbage, fd, hp->rx_s, hp->rx_e);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic