httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject found reason for CGI buffering
Date Sat, 10 Jan 1998 08:18:19 GMT
Check out bnonblock in buff.c

#if defined(O_NONBLOCK)
...
#elif defined(F_NDELAY)
...
#else
return 0;
#endif

I think that explains it pretty well.

As far as I can see, win32 has no easy way to make descriptors
nonblocking.  You have to do a ReadFromFile and then a waitforsomething or
something like that and you can probably do the same thing.  Is darn ugly
though because every single loop where EAGAIN is checked for this reason
has to be redone with a macro or something.  There is a function to make
sockets nonblocking, but that doesn't help here.



Mime
View raw message