Hello,

I have a problem with mina-filter-ssl-1.1.0 release: sometimes for unknown
reasons and in an arbitrary way, after a client connects to a SSL enabled
server, it does not send anything. On the server side and the client side as
well, only CREATED and OPENED events are fired and nothing further happens (
except IDDLE events ) even if the client issued the first session.write().

In order to reproduce this, I wrote a simple client that connects to the
echo server found in the examples.
org.apache.mina.example.echoserver.Main should be modified with
USE_SSL=true, PORT = 8090 and bogus.cert has to be generated as documented
in org.apache.mina.example.echoserver.ssl.BogusSSLContextFactory and placed
in the classpath of the server and server launchers.

Until mina-1.1.0 was released I worked with a snapshot release and did not
encounter this problem. So if one uses a mina-filter-ssl-1.1.0-SNAPSHOT.jar
instead of mina-filter-ssl-1.1.0.jar the 'silence' problem does not occur.
Fortunately I have the snapshot sources from the svn that were used to build
mina-filter-ssl-1.1.0-SNAPSHOT.jar.
The revision number for the working SSLHandler is 471502 respectively 507461
for SSLFilter.

Attached is the client  source that reproduces the problem. It has to be
placed in org.apache.mina.example.echoserver package.

Regards,
Horia
http://www.nabble.com/file/8269/Client.java Client.java 
-- 
View this message in context: 
http://www.nabble.com/SSL-Client-does-not-send-any-data-tf3714505.html#a10390620
Sent from the mina dev mailing list archive at Nabble.com.

Reply via email to