httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_io.c
Date Fri, 01 Nov 2002 09:42:09 GMT
jerenkrantz    2002/11/01 01:42:09

  Modified:    modules/ssl ssl_engine_io.c
  Log:
  I don't see how *len > wanted, but leave the check there.
  
  Stick a comment in there as a 'Waldo was here' so that if I ever see this
  again, I realize that I've actually thought about it and didn't think >
  was necessary.
  
  Revision  Changes    Path
  1.88      +4 -1      httpd-2.0/modules/ssl/ssl_engine_io.c
  
  Index: ssl_engine_io.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_io.c,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -u -r1.87 -r1.88
  --- ssl_engine_io.c	1 Nov 2002 09:29:06 -0000	1.87
  +++ ssl_engine_io.c	1 Nov 2002 09:42:09 -0000	1.88
  @@ -655,7 +655,10 @@
               inctx->cbuf.value -= bytes;
               inctx->cbuf.length += bytes;
               return APR_SUCCESS;
  -        } 
  +        }
  +        /* This could probably be *len == wanted, but be safe from stray
  +         * photons.
  +         */
           if (*len >= wanted) {
               return APR_SUCCESS;
           }
  
  
  

Mime
View raw message