From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 12 Jun 2009 13:39:02 +0000 (+0000)
Subject: Tell crunch_reason() about RSP_REASON_NO_SERVER_DATA.
X-Git-Tag: v_3_0_13~11
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/faq/user-manual/@default-cgi@toggle?a=commitdiff_plain;h=fac8bb933e5355946a02ede417460779a1aca33a;p=privoxy.git

Tell crunch_reason() about RSP_REASON_NO_SERVER_DATA.
---

diff --git a/jcc.c b/jcc.c
index de6d35b2..03b2431b 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.255 2009/06/11 11:46:22 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.256 2009/06/11 11:49:11 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -657,6 +657,9 @@ static const char *crunch_reason(const struct http_response *rsp)
       case RSP_REASON_CONNECTION_TIMEOUT:
          reason = "Connection timeout";
          break;
+      case RSP_REASON_NO_SERVER_DATA:
+         reason = "No server data received";
+         break;
       default:
          reason = "No reason recorded";
          break;