On Tue, 7 Aug 2001, Cliff Woolley wrote: > On 7 Aug 2001 [EMAIL PROTECTED] wrote: > > > rbb 01/08/07 16:56:35 > > > > Modified: network_io/unix sockets.c > > Log: > > Finish the fix for the non-blocking connect. Basically, we need to > > query the socket to find the actual error if the connect failed. This > > is done using getsockopt with the SO_ERROR option. If error == 0, then > > the connect succeeded, else error is the connect errno value. > > Submitted by: Jeff Trawick > > This did make it in before the 2.0.23 tag, by the way...
On FreeBSD (icarus) now: /bin/sh /x1/home/jwoolley/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE -DAPR_ASSERT_MEMORY -I../../include -I../../include/arch/unix -I../../include/arch/unix -c sockets.c && touch sockets.lo sockets.c: In function `apr_connect': sockets.c:282: `sockfd' undeclared (first use in this function) sockets.c:282: (Each undeclared identifier is reported only once sockets.c:282: for each function it appears in.) *** Error code 1 Stop in /x1/home/jwoolley/httpd-2.0/srclib/apr/network_io/unix. *** Error code 1 Stop in /x1/home/jwoolley/httpd-2.0/srclib/apr/network_io/unix. -------------------------------------------------------------- Cliff Woolley [EMAIL PROTECTED] Charlottesville, VA
