Manage connection

View: New views
2 Messages — Rating Filter:   Alert me  

Manage connection

by Liang Xiao Zhu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone!

I am wondering, how can i manage connection? What I want to do is
simplely filter connections, such as when I have 50 request I want the
follow connections will be refused. I am using a NIO protocol for to do
that, in fact, I am looking at a Http11NioProcessor.java and
Http11NioProtocol.java, and I can capture the request, but I dont know
how I can refuse the request. I mean, how I can build a response when
the user with request 51 will be refused.

Thanks in advance!!!

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Manage connection

by markt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Liang Xiao Zhu wrote:

> Hi everyone!
>
> I am wondering, how can i manage connection? What I want to do is
> simplely filter connections, such as when I have 50 request I want the
> follow connections will be refused. I am using a NIO protocol for to do
> that, in fact, I am looking at a Http11NioProcessor.java and
> Http11NioProtocol.java, and I can capture the request, but I dont know
> how I can refuse the request. I mean, how I can build a response when
> the user with request 51 will be refused.
>
> Thanks in advance!!!

This is a question for the users list, not the dev list.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...