apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject RE: Patch for unix/poll.c (!HAVE_POLL)
Date Thu, 26 Sep 2002 17:40:54 GMT
I am reviewing this. BTW, unified diffs are considerably easier to read (cvs
diff -u or diff -u)

Thanks,
Bill

> -----Original Message-----
> From: Charles Reitzel [mailto:creitzel@rcn.com]
> Sent: Thursday, September 26, 2002 1:30 PM
> To: dev@apr.apache.org
> Subject: Patch for unix/poll.c (!HAVE_POLL)
>
>
> On Win2K, I was having a consistent problem with ab in the last N
> iterations with concurrency N.  For example, running "ab -n 20 -c 10
> http://example.com/foo" would consistently cause a poll error out
> after 13
> or 15 requests.  The message (errno == 9) was that poll was passed
> something that is not a socket.
>
> Anyway, I tracked down the problem to the post-select handling.
> It doesn't
> quite match the pre-select handling.  The attached patch makes it
> so.  This
> patch is not platform-specific, but obviously only affects
> platforms w/out
> poll().
>
> take it easy,
> Charlie
>
>
>


Mime
View raw message