Hello,
Anybody had a chance to test and confirm this ?
If it is confirmed, I can create a bug report.

Regards,
Laurent.

Le 09/06/2010 15:40, Laurent Rustuel a écrit :
> Hello,
>
> We tried, in our project, to configure https support. This part was ok :)
> Now, we wanted to use netty with https, and I have this strange behavior
> : only one request can be served.
> With jetty or simple, everything is fine, this problem occurs only with
> netty.
> Also, this problem can be found using other client (restclient, web
> browser, etc.)
>
> The server can answer the first request, but any other call will not be
> handled.
>
> Trace when using jetty in the server side :
> 9 juin 2010 15:30:59 org.restlet.engine.http.connector.HttpClientHelper
> start
> INFO: Starting the default HTTP client
> returned : it worked
> returned : it worked
>
> same code, using netty in server side :
> 9 juin 2010 15:28:50 org.jboss.netty.channel.socket.nio.NioProviderMetadata
> FIN: Using the autodetected NIO constraint level: 0
> 9 juin 2010 15:28:50 org.restlet.engine.http.connector.HttpClientHelper
> start
> INFO: Starting the default HTTP client
> returned : it worked
> 9 juin 2010 15:28:51 org.restlet.engine.http.connector.Connection
> readMessages
> FIN: Error while reading a message. Closing the connection.
> 9 juin 2010 15:28:51 org.restlet.engine.http.connector.Connection
> readMessages
> FIN: Error while reading a message. Closing the connection.
> java.net.SocketException: Software caused connection abort: recv failed
>       at java.net.SocketInputStream.socketRead0(Native Method)
>       at java.net.SocketInputStream.read(Unknown Source)
>       at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
>       at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
>       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
>       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown
> Source)
>       at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
>       at java.io.BufferedInputStream.fill(Unknown Source)
>       at java.io.BufferedInputStream.read(Unknown Source)
>       at
> org.restlet.engine.http.connector.ClientConnection.readMessage(ClientConnection.java:168)
>       at
> org.restlet.engine.http.connector.Connection.readMessages(Connection.java:685)
>       at 
> org.restlet.engine.http.connector.Controller$2.run(Controller.java:94)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
> Source)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>       at java.lang.Thread.run(Unknown Source)
>
>
>
>
> (see attached file, an eclipse project to reproduce [2,5 Mo])
>
> Regards,
> Laurent.
>


-- 
Laurent Rustuel,
Alten contractor for Genesys, an Alcatel-Lucent Company

                                        
-------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain 
confidential and proprietary information of Alcatel-Lucent and/or its 
affiliated entities. Access by the intended recipient only is authorized. Any 
liability arising from any party acting, or refraining from acting, on any 
information contained in this e-mail is hereby excluded. If you are not the 
intended recipient, please notify the sender immediately, destroy the original 
transmission and its attachments and do not disclose the contents to any other 
person, use it for any purpose, or store or copy the information in any medium. 
Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or 
its affiliated entities.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2623450

Reply via email to