httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Fri, 25 Oct 2002 20:58:56 GMT
stoddard    2002/10/25 13:58:56

  Modified:    modules/proxy proxy_http.c
  Log:
  Fix a segfault when the client closes the connection prematurely.
  
  Reported by: Fabio Wakim Trentini
  Reviewed by: Bill Stoddard
  
  Revision  Changes    Path
  1.163     +1 -1      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.162
  retrieving revision 1.163
  diff -u -r1.162 -r1.163
  --- proxy_http.c	26 Sep 2002 11:35:47 -0000	1.162
  +++ proxy_http.c	25 Oct 2002 20:58:55 -0000	1.163
  @@ -374,7 +374,7 @@
           *origin = ap_run_create_connection(c->pool, r->server, p_conn->sock,
                                              r->connection->id,
                                              r->connection->sbh, c->bucket_alloc);
  -        if (!origin) {
  +        if (!*origin) {
           /* the peer reset the connection already; ap_run_create_connection() 
            * closed the socket
            */
  
  
  

Mime
View raw message