Received: by taz.hyperreal.com (8.8.4/V2.0) id VAA27569; Wed, 19 Feb 1997 21:16:31 -0800 (PST) Received: by taz.hyperreal.com (8.8.4/V2.0) id VAA27553; Wed, 19 Feb 1997 21:16:27 -0800 (PST) Date: Wed, 19 Feb 1997 21:16:27 -0800 (PST) From: Chuck Murcko Message-Id: <199702200516.VAA27553@taz.hyperreal.com> To: apache-cvs@hyperreal.com Subject: cvs commit: apache/src/modules/proxy proxy_http.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com chuck 97/02/19 21:16:26 Modified: src/modules/proxy proxy_http.c Log: Changed HTTP status check mask from "HTTP/#.# ### *" to "HTTP/#.# ###*" to be more lenient about servers which don't return all of a legal HTTP/1.x status. Revision Changes Path 1.14 +1 -1 apache/src/modules/proxy/proxy_http.c Index: proxy_http.c =================================================================== RCS file: /export/home/cvs/apache/src/modules/proxy/proxy_http.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C3 -r1.13 -r1.14 *** proxy_http.c 1997/01/20 04:28:33 1.13 --- proxy_http.c 1997/02/20 05:16:25 1.14 *************** *** 276,282 **** } /* Is it an HTTP/1 response? */ ! if (checkmask(buffer, "HTTP/#.# ### *")) { /* If not an HTTP/1 messsage or if the status line was > 8192 bytes */ if (buffer[5] != '1' || buffer[len-1] != '\n') --- 276,282 ---- } /* Is it an HTTP/1 response? */ ! if (checkmask(buffer, "HTTP/#.# ###*")) { /* If not an HTTP/1 messsage or if the status line was > 8192 bytes */ if (buffer[5] != '1' || buffer[len-1] != '\n')