From f00a27bae5b77921428d29e18dca7105fae46e3d Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 23 Oct 2007 20:12:45 +0000 Subject: [PATCH] Fix first CSUCCEED line to end in \r\n as required by RFC1945. Reported by Bert van Leeuwen in BR#1818808. --- jcc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jcc.c b/jcc.c index f687a5d0..86a3092b 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.153 2007/10/14 14:12:41 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.154 2007/10/19 17:00:08 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.153 2007/10/14 14:12:41 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.154 2007/10/19 17:00:08 fabiankeil + * Downgrade "Flushing header and buffers" message to LOG_LEVEL_INFO. + * * Revision 1.153 2007/10/14 14:12:41 fabiankeil * When in daemon mode, close stderr after the configuration file has been * parsed the first time. If logfile isn't set, stop logging. Fixes BR#897436. @@ -1079,7 +1082,7 @@ int received_hup_signal = 0; /* HTTP snipplets. */ static const char CSUCCEED[] = - "HTTP/1.0 200 Connection established\n" + "HTTP/1.0 200 Connection established\r\n" "Proxy-Agent: Privoxy/" VERSION "\r\n\r\n"; static const char CHEADER[] = -- 2.49.0