[PATCH] apr_thread_cond_wait bug/problem on WIN32

2004-03-05 Thread Klaus Keppler
[RESENT because I got no response for about two weeks...] Hello, having spent several hours on one problem only occuring on WIN32 platform I found following bug(?) with locks/win32/thread_cond.c. In my application I use the function apr_thread_cond_wait in a very similar context like httpd2's worke

Re: apr/apr-util python dependence

2004-03-05 Thread Sander Striker
On Fri, 2004-03-05 at 01:03, [EMAIL PROTECTED] wrote: > I would double-check this personally. I just recently finished a project that > asked customers to build an Apache module that depended on autoconf, automake, > and libtool. Even though I ran the equivalent of buildconf, the users needed >

Re: PATCH: Determine how many bytes are waiting to be read from a socket

2004-03-05 Thread Scott Lamb
On Mar 4, 2004, at 9:17 PM, Robert Norris wrote: On Thu, Mar 04, 2004 at 07:39:48PM -0600, Scott Lamb wrote: On Mar 4, 2004, at 6:44 PM, Robert Norris wrote: The connection is only closed if the socket is readable and there's no bytes waiting. The results of select()/poll() are undefined unless

Re: PATCH: Determine how many bytes are waiting to be read from a socket

2004-03-05 Thread Robert Norris
On Thu, Mar 04, 2004 at 07:39:48PM -0600, Scott Lamb wrote: > On Mar 4, 2004, at 6:44 PM, Robert Norris wrote: > >The connection is only closed if the socket is readable and there's no > >bytes waiting. The results of select()/poll() are undefined unless they > >return successfully. > > I'm saying

Re: PATCH: Determine how many bytes are waiting to be read from a socket

2004-03-05 Thread Scott Lamb
On Mar 4, 2004, at 6:44 PM, Robert Norris wrote: On Thu, Mar 04, 2004 at 06:04:05PM -0600, Scott Lamb wrote: On Mar 4, 2004, at 4:51 PM, Robert Norris wrote: I use this to determine if the peer has closed the connection. In that case, the socket goes readable, and this function reports 0 bytes wai

Re: PATCH: Determine how many bytes are waiting to be read from a socket

2004-03-05 Thread Robert Norris
On Thu, Mar 04, 2004 at 06:04:05PM -0600, Scott Lamb wrote: > On Mar 4, 2004, at 4:51 PM, Robert Norris wrote: > >I use this to determine if the peer has closed the connection. In that > >case, the socket goes readable, and this function reports 0 bytes > >waiting. > > I don't think this is correc

Re: PATCH: Determine how many bytes are waiting to be read from a socket

2004-03-05 Thread Scott Lamb
On Mar 4, 2004, at 4:51 PM, Robert Norris wrote: Attached is a patch that adds a function apr_socket_pending(). This allows the caller to find out how many bytes are waiting to be read from a socket without actually reading those bytes. I use this to determine if the peer has closed the connectio

Re: apr/apr-util python dependence

2004-03-05 Thread rbb
I would double-check this personally. I just recently finished a project that asked customers to build an Apache module that depended on autoconf, automake, and libtool. Even though I ran the equivalent of buildconf, the users needed to have all three tools. That may have been because of automa