From: fgont@softhome.net (Fernando Gont)
Subject: Re: TCP listen pending connection does not work as expected
Date: Tue, 23 Jan 2001 02:06:08 GMT [thread overview]
Message-ID: <3a6cbe82.4621332@nntp1.vianetworks.net.ar> (raw)
In-Reply-To: 3A6C82DC.E87E92CC@opteway.com
On Mon, 22 Jan 2001 19:58:36 +0100, francois reygagne
<freygagne@opteway.com> wrote:
>Could anyone help me. I want to make tcp rejected my incoming request
>when the tcp listen queue is full
>on Linux, Solaris 2.8, Tru64, HP-UX and AIX.
Keep in mind that the backlog argument for the listen() function is
not literally the number of queued connections on some systems. Please
read thecurrent "TCP backlog" thread in comp.protocols.tcp-ip.
>* when max of pending connection is reached, the server stops pushing
>client socket
>1) reads client request then
>2) sends a response to refuse the request (server too busy)
>3)closes the connection
In that case, you're processing the requests, anyway. Will it really
help your server to do that?
--
Fernando Ariel Gont
e-mail: fgont@ANTISPAM.softhome.net
[To send a personal reply, please remove the ANTISPAM tag]
next prev parent reply other threads:[~2001-01-23 2:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-22 18:58 TCP listen pending connection does not work as expected francois reygagne
2001-01-23 2:06 ` Fernando Gont [this message]
2001-01-23 10:43 ` Casper H.S. Dik - Network Security Engineer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox