NetBSD + nginx-0.8.53 + accept filters - not working

Maxim Dounin mdounin at
Tue Aug 9 11:07:14 UTC 2011


On Tue, Aug 09, 2011 at 05:48:06AM -0400, hugo wrote:

> Giving nginx a spin on NetBSD, I noticed:
>  accept filters "accept_filter=httpready" are not supported on this
> platform, ignored in /usr/pkg/etc/nginx/nginx.conf:40
> But NetBSD does support them:
> accf_http (9) - buffer incoming connections until a certain complete
> HTTP requests arrive

Ah, ok, it looks like accept filters are available in NetBSD 5.0+.


> Since I'm using packages (pkgin), I could not test nginx 1.x (which is
> in pkgsrc); Maybe this has been fixed in the mean time ?

You may try

    ./configure --with-cc-opt="-D NGX_HAVE_DEFERRED_ACCEPT"

to see if it works.

If it is, we probably want to fix configure to detect it 

Maxim Dounin

More information about the nginx mailing list