All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun C Murthy <acmurthy@gmail.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Arun C Murthy <acmurthy@gmail.com>
Subject: Accept filtering
Date: Mon, 31 Jan 2005 18:27:06 +0530	[thread overview]
Message-ID: <41FE2B22.1000706@gmail.com> (raw)

Hi,

 While browsing through apache core features, I came across 
accept_filtering in FreeBSD - via accf_http which places a filter on a 
socket (setsockopt - SO_ACCEPTFILTER) which  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.

 Is there any equivalent for this in Linux? I only came across 
TCP_DEFER_ACCEPT option which only waits till the client sends an ACK 
back to server && first packet of data is recieved (accf_data on 
FreeBSD)...

 ...if there ain't this functionality any tips on how to go about 
implementing it?

thanks,
Arun

                 reply	other threads:[~2005-01-31 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41FE2B22.1000706@gmail.com \
    --to=acmurthy@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.