Its me again!
I am getting on great guns you'll be pleased to know.
Just a quick one today ... as per the subject, what is the quickest way
to kill off a client.
I have tried:
res.reset();
res.finish();
I have also tried throwing an exception.
I want to kill off the connection completely; waste no more bandwidth on
the person. As you can understand this is part of the spam prevention,
the very reason, i am using grizzly in the first place.
I read in the HTTP header, and once i have that, i can make a decision
as to whether or not we service them. If we don't, we sandbox them for
a while and prevent them from connecting.
In the "servlet" days, we would simply close the outputstream.
Please advise.
thanks
a
--
Alan Williamson
"a wiki -and- a blog" @ http://www.Blog-City.com/
b: http://alan.blog-city.com/