On 03/13/2013 02:47 PM, Mark Thomas wrote:
On 13/03/2013 13:36, Mark Thomas wrote:
On 13/03/2013 13:12, Mladen Turk wrote:

I can create a debug version which would write couple of lines to
the dbgview.exe window (from SysInternals
http://technet.microsoft.com/en-us/sysinternals/bb896647)

Fancy to give it a shot.
It would be cool to see what are the actual internal results of
SSL_write API call

Thanks. Setting up to test with that now.

http://people.apache.org/~markt/random/2013-03-13-apr-sos-ssl-debug.log

Hope this helps find a fix.


00000024        7.85507011      [3976] SSL_write returned -1, 
apr_get_netos_error=730035 SSL_get_error=3        

Ok, that's a first failure with is WSAEWOULDBLOCK and SSL_get_error=3 is 
SSL_ERROR_WANT_WRITE

00000026        7.85627747      [3976] SSL_write returned -1, 
apr_get_netos_error=0 SSL_get_error=1

That's a problem
apr_get_netos_error returned zero (and thats what we return)
However SSL_get_error returned SSL_ERROR_SSL (1) and we don't handle that!

Sending you a version that returns APR_EGENERAL on SLL_ERROR_SSL ...

Regards
--
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to