apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Nicholes" <BNICHO...@novell.com>
Subject [PATCH] Win32/NetWare sockets.c
Date Wed, 02 Jan 2002 19:30:25 GMT
Oops, wrong list.  Resent to the APR list

>>> BNICHOLES@novell.com Wednesday, January 02, 2002 12:25:33 PM >>>
Any feedback would be appreciated.  If it looks OK then I will go
and check it in.


>>> "William A. Rowe, Jr." <wrowe@rowe-clan.net> Wednesday, January
2002 12:12:59 PM >>>
I'll look at this this afternoon ... but Mr's Stoddard and Trawick
a wee bit of insight about Win32 Sockets API [much more than myself]
might be interested as well.


----- Original Message ----- 
From: "Brad Nicholes" <BNICHOLES@novell.com>
To: <wrowe@rowe-clan.net>
Sent: Wednesday, January 02, 2002 10:37 AM
Subject: Changes to sockets.c

> Bill,
>     Would you mind taking a quick look at this before I check it in.

> Basically I moved the call to accept() before allocating the
> apr_socket_t structure so that I can do non-blocking accepts without
> chewing up a huge chunk of memory on WSAEWOULDBLOCK's.  No need to
> allocate memory if it would have blocked anyway or recieved some
> error.  FYI, there may be other places where the APR functions don't
> accomodate a non-blocking scheme, but I haven't had the time to look
> into it yet.
> thanks,
> Brad

View raw message