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
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 ?
Had a brief chat with the maintainer; He’s of the opinion that this
should be dealt with upstream, using the same logic in use for FreeBSD:
“if SO_ACCEPTFILTER exists, use it by default.”
On Tue, Aug 09, 2011 at 09:44:53AM -0400, hugo wrote:
Had a brief chat with the maintainer; He’s of the opinion that this
should be dealt with upstream, using the same logic in use for FreeBSD:
“if SO_ACCEPTFILTER exists, use it by default.”
As I already stated earlier:
…
to see if it works.
If it is, we probably want to fix configure to detect it
automatically.
Do you see it works? I.e. not only doesn’t produce errors while
parsing configuration, but actually works ok and uses accept
filters?