httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: httpd-proxy/module-2.0 proxy_connect.c proxy_http.c
Date Wed, 23 May 2001 06:43:47 GMT
orlikowski    01/05/22 23:43:47

  Modified:    module-2.0 proxy_connect.c proxy_http.c
  Log:
  YAPJBUJ.
  (Yet Another Proxy Janitor Botched-Up Job).
  Need to be looking for APR_SUCCESS here, not HTTP_OK.
  Obtained from: Justin Erenkrantz
  
  Revision  Changes    Path
  1.45      +1 -1      httpd-proxy/module-2.0/proxy_connect.c
  
  Index: proxy_connect.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_connect.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- proxy_connect.c	2001/05/22 19:37:08	1.44
  +++ proxy_connect.c	2001/05/23 06:43:45	1.45
  @@ -155,7 +155,7 @@
        */
   
       /* we break the URL into host, port, uri */
  -    if (HTTP_OK != apr_uri_parse_hostinfo_components(p, url, &uri)) {
  +    if (APR_SUCCESS != apr_uri_parse_hostinfo_components(p, url, &uri)) {
   	return ap_proxyerror(r, HTTP_BAD_REQUEST,
   			     apr_pstrcat(p, "URI cannot be parsed: ", url, NULL));
       }
  
  
  
  1.73      +1 -1      httpd-proxy/module-2.0/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_http.c,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- proxy_http.c	2001/05/23 03:39:44	1.72
  +++ proxy_http.c	2001/05/23 06:43:46	1.73
  @@ -252,7 +252,7 @@
        */
   
       /* we break the URL into host, port, uri */
  -    if (HTTP_OK != apr_uri_parse_components(p, url, &uri)) {
  +    if (APR_SUCCESS != apr_uri_parse_components(p, url, &uri)) {
   	return ap_proxyerror(r, HTTP_BAD_REQUEST,
   			     apr_pstrcat(p,"URI cannot be parsed: ", url, NULL));
       }
  
  
  

Mime
View raw message