You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/08/24 04:02:10 UTC
cvs commit: apache-2.0/src/main buff.c
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: