Date: Mon, 18 Aug 2014 13:22:51 +0200 From: "Michael Ross" <gmx@ross.cx> To: "Dale Scott" <dalescott@shaw.ca> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: apache24 and accf_http Accept Filter Message-ID: <op.xksckdo3g7njmm@michael-think> In-Reply-To: <C808DF3F-6146-455F-8583-45B5A7902E56@shaw.ca> References: <d14a9401a9b25b31f8446b4588130276@paz.bz> <op.xkqzmnupg7njmm@michael-think> <C808DF3F-6146-455F-8583-45B5A7902E56@shaw.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Aug 2014 22:57:32 +0200, Dale Scott <dalescott@shaw.ca> wrote: >> On Aug 17, 2014, at 11:46 AM, "Michael Ross" <gmx@ross.cx> wrote: >> >>> On Sun, 17 Aug 2014 18:44:33 +0200, Jim Pazarena <fquest@paz.bz> wrote: >>> >>> My upgrade to apache24 from 22 met an error about the Accept Filter. >>> I never had to deal with this before. >>> So research shows that I should run "kldload accf_http". >>> Which works, and apache24 now executes. >>> My question is, where is the correct location to place the >>> "kldload accf_http" directive? I'm guessing "loader.conf", but that >>> doesn't look right. >>> >>> Thanks for advice. >> >> You should put >> >> apache24_http_accept_enable="YES" >> >> into /etc/rc.conf >> >> The apache rc script takes care of the module loading. > > Why is apache24_http_accept_enable required? Instructions generally > indicate to set both, but I only have apache24_enable in rc.conf and all > seems to work ok (apache24 is used to serve phpldapadmin only). Can > anyone explain why? > > Dale It is not required. " This is a filter to be placed on a socket that will be using accept() to receive incoming HTTP connections. It prevents the application from receiving the connected descriptor via accept() until either a full HTTP/1.0 or HTTP/1.1 HEAD or GET request has been buffered by the kernel. " See the man pages for accf_http and accf_data. Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.xksckdo3g7njmm>