httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@apache.org
Subject cvs commit: httpd-proxy/module-2.0 proxy_connect.c
Date Fri, 13 Apr 2001 09:34:48 GMT
chuck       01/04/13 02:34:48

  Modified:    module-2.0 proxy_connect.c
  Log:
  Fix logic in connect handler from previous patch
  
  Revision  Changes    Path
  1.36      +2 -2      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.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- proxy_connect.c	2001/04/13 08:12:52	1.35
  +++ proxy_connect.c	2001/04/13 09:34:47	1.36
  @@ -331,9 +331,9 @@
                       int o = 0;
                       while(nbytes)
                       {
  -                        i = nbytes;
   			if (apr_send(r->connection->client_socket, buffer + o, &nbytes) != APR_SUCCESS)
   			    break;
  +                        i = nbytes;
                           o += i;
                           nbytes -= i;
                       }
  @@ -354,9 +354,9 @@
                       int o = 0;
                       while(nbytes)
                       {
  -                        i = nbytes;
   			if (apr_send(sock, buffer + o, &nbytes) != APR_SUCCESS)
   			    break;
  +                        i = nbytes;
                           o += i;
                           nbytes -= i;
                       }
  
  
  

Mime
View raw message