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')
  
  
  

Reply via email to