apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [WIN32] apr_sockets BUG?
Date Fri, 19 Apr 2002 17:23:22 GMT
At 06:16 AM 4/19/2002, Jeff Trawick wrote:
>"Mladen Turk" <mturk@mappingsoft.com> writes:
>
> > Hi,
> >
> > Dunno if I miss something, but the server/client test on WIN32 doesn't 
> work.
> > Well, as far I've been able to track the things down the non-blocking
> > sockets are the bugger.
>
>It seems to me that server.c is a bit naive in thinking that data will
>be available as soon as it accepts a new connection.  You could add a
>poll for data available before the apr_recv() in the server.

Or... is this running on WinXP (or possibly, Win2K?)  There is a rather big
nonblocking socket driver bug, see /dist/httpd/binaries/win32/ and follow the
"XP Users Read Me First" dialog, where I've cited the Q article that Allan's
research led to.

Bill



Mime
View raw message