axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Johnson (JIRA)" <>
Subject [jira] Commented: (AXISCPP-1031) SSL_write called with m_sslHandle=null when socket closed
Date Mon, 25 Jun 2007 15:06:26 GMT


Wayne Johnson commented on AXISCPP-1031:

Sorry for the delay.  It seems we've changed our code to bypass this issue at this time...

I have been testing with your modified SSL code (sans this bug) and it seems to be working
well.  The only issue seems to be that the "PRNG not seeded" error does not come out, but
that now appears to be a bug/feature in OpenSSL.  I did come up with some issues in the error
reporting code that you had after I desk checked it.  I'll upload my suggested corrections.

If you don't mind, I'll leave this bug open for a little longer and see if I can hit the original
issue again.

Thanks for your work on this.

> SSL_write called with m_sslHandle=null when socket closed
> ---------------------------------------------------------
>                 Key: AXISCPP-1031
>                 URL:
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Transport (axis3)
>    Affects Versions:  1.6 Final
>         Environment: Testing with Axis[J] on a jetty server.  Server has maxIdleTime=60000
(for testing, but any time could be used).  WIndowsXP.
>            Reporter: Wayne Johnson
>             Fix For:  1.6 Final
>         Attachments: HTTPSSLChannel.cpp, HTTPSSLChannel.hpp
> When Jetty closes the socket due to maxIdleTime, the next write (from httptransport.cpp,
~line 264) detects the closure and calls HTTPSSLChannel::OpenSSL_Close(), which sets m_sslHandle
= NULL.  httptransport.cpp, ~line 265 then calls the m_pActiveChannel->writeBytes() again
to send the remainder of the packet (without checking if the first write succeded).  The null
handle causes a crash.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message