tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Prasad" <akpra...@gmail.com>
Subject Re: SO_TIMEOUT with Tomcat 5.5?
Date Wed, 27 Dec 2006 23:30:35 GMT
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 <akprasad@gmail.com> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message