httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main buff.c
Date Thu, 24 Aug 2000 02:02:10 GMT
trawick     00/08/23 19:02:09

  Modified:    src/main buff.c
  Log:
  Get CGIs working again (on Unix, at least).  When the iols were
  removed last night, the conversion of seconds to microseconds before
  calling APR was lost.  This resulted in apache not waiting long enough
  for the CGI to create output.
  
  Revision  Changes    Path
  1.60      +2 -1      apache-2.0/src/main/buff.c
  
  Index: buff.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/buff.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- buff.c	2000/08/23 00:01:52	1.59
  +++ buff.c	2000/08/24 02:02:09	1.60
  @@ -240,7 +240,8 @@
   	    /* XXX: should remove B_WR now... */
   	}
           /* ### set berrno if apr_setsocketopt returns an error? */
  -	return apr_setsocketopt(fb->bsock, APR_SO_TIMEOUT, *(int *)optval);
  +	return apr_setsocketopt(fb->bsock, APR_SO_TIMEOUT, 
  +                                *(int *)optval * APR_USEC_PER_SEC);
   
   #ifdef APACHE_XLATE
       case BO_WXLATE:
  
  
  

Mime
View raw message