[prev in list] [next in list] [prev in thread] [next in thread]
List: thttpd
Subject: Re: [THTTPD] Non blocking accept
From: Brice Figureau <thlist-brice () daysofwonder ! com>
Date: 2003-08-15 12:37:09
[Download RAW message or body]
On Thu, 2003-08-14 at 14:28, Kieran Mansley wrote:
> On 14 Aug 2003, Brice Figureau wrote:
> > The accepted sockets are marked as non blocked (aka NDELAY) in thttpd.c
> > line 1351 through the call to httpd_set_ndelay which is defined in
> > libhttpd.c
>
> Ahhh, I didn't realise that NDELAY also implied non blocking.
It is exactly the same thing, at least on my linux system (in
/usr/include/bits/fcntl.h):
#define O_NONBLOCK 04000
#define O_NDELAY O_NONBLOCK
--
Brice Figureau thlist-brice@daysofwonder.com
my current spamtrap partmaps@daysofwonder.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic