tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esmond Pitt" <>
Subject RE: Handling requests when under load - ACCEPT and RST vs non-ACCEPT
Date Tue, 13 Nov 2012 23:16:26 GMT
>> In addition, those clients will then get exactly the behaviour that 
>> you are complaining about: a successful connection and then a 'connection
>> when doing I/O.
> No, they will not get an ACK to the SYN packet which is much better.

No, Asahnka, you are completely wrong about this. Clients on the backlog
queue have *already got* the SYN/ACK in reply to the SYN packet. That's
*why* they are on the backlog queue. They have fully formed connections, and
they have probably already sent at least part of their HTTP request. If you
close the listening socket as per your bizarre suggestion, all the
connections on the backlog queue will get closed, and the clients concerned
will get 'connection reset' if they are still sending, or, even worse,
premature EOFs when trying to receive the reply.

You don't seem to know much about it.

Esmond Pitt FACS
Author, 'java.rmi: the Guide to Remote Method Invocation' and 'Fundamental
Networking in Java'.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message