I found a bug with Mina1.1.7

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

I found a bug with Mina1.1.7

by singleyin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello ,I come from china ,
here ,I found a bug with mina 1.1.7   .
when create SocketConnector with SocketConnector's default constructor eg:
SocketConnector conn=new SocketConnector();
if server no return data , worker thread in SocketIoProcessor.java  no timeout forever
because when executed processSessions(selector.selectedKeys()) , next select(1000)  selector.keys() ==isEmpty ,so processTimedOutSessions(selector.keys()) no do forever .
 
I known a litile english ~~  ,sorry ~~

Re: I found a bug with Mina1.1.7

by Emmanuel Lecharny-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

singleyin wrote:
> hello ,I come from china ,
> here ,I found a bug with mina 1.1.7   .
>  
Are you sure ? Have you written a test case that expose the bug ?
> when create SocketConnector with SocketConnector's default constructor eg:
> SocketConnector conn=new SocketConnector();
> if server no return data , worker thread in SocketIoProcessor.java  no timeout forever
> because when executed processSessions(selector.selectedKeys()) , next select(1000)  selector.keys() ==isEmpty ,so processTimedOutSessions(selector.keys()) no do forever .
>  
Can you give us the server code where you think there is a bug ?

Thanks.

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


LightInTheBox - Buy quality products at wholesale price!