I take it back.  I didn't turn off Nagling (TCP_NODELAY) on the
client, so the whole request was sent in one packet.  Everything works
now.  Sorry!

On 12/27/06, Aditya Prasad <[EMAIL PROTECTED]> wrote:
Hi all,

I'm having a hard time setting the SO_TIMEOUT value for the socket on
my server (5.5).  I want to prevent DOS attacks where a user sends one
byte at a time, separated by a second or so.  I can set the overall
timeout, but I want finer-level control.  I'm doing this:

<Connector port="8080" ... serverSocketTimeout="100" .../>

But it doesn't seem to work.

I also looked into worker.foo.socket_timeout value, but that may be
completely wrong.  Suggestions?

Thanks!
Aditya


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to