Commit c5ce5c86 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Oops, last commit included some debugging


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2076 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f94e1445
......@@ -310,7 +310,6 @@ cnt_fetch(struct sess *sp)
http_PutStatus(sp->wrk, sp->fd, sp->obj->http, 503);
sp->err_code = http_GetStatus(sp->obj->http);
WSP(sp, SLT_Debug, "i %d err %d v %d c %d", i, sp->err_code, sp->obj->valid, sp->obj->cacheable);
VCL_fetch_method(sp);
switch (sp->handling) {
......
......@@ -56,7 +56,6 @@ SYN_ErrorPage(struct sess *sp, int status, const char *reason, int ttl)
double now;
int fd;
WSL_Flush(sp->wrk);
assert(status >= 100 && status <= 999);
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
CHECK_OBJ_NOTNULL(sp->wrk, WORKER_MAGIC);
......
......@@ -172,7 +172,6 @@ RFC2616_cache_policy(const struct sess *sp, const struct http *hp)
* We do not support ranges yet, so 206 is out.
*/
sp->obj->response = http_GetStatus(hp);
WSP(sp, SLT_Debug, "resp: %d", sp->obj->response);
switch (sp->obj->response) {
case 200: /* OK */
case 203: /* Non-Authoritative Information */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment