Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 42790 invoked by uid 500); 26 Sep 2002 18:49:11 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 42779 invoked from network); 26 Sep 2002 18:49:10 -0000 From: "Bill Stoddard" To: "Charles Reitzel" , "APR Development List" Subject: RE: Patch for unix/poll.c (!HAVE_POLL) Date: Thu, 26 Sep 2002 14:50:05 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <4.3.2.7.2.20020926132258.029e1af8@pop.rcn.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I cannot understand your patch. Please submit as a unified diff and make sure you are using the most recent version of APR. Thanks, Bill > > 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 > > >