axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1037985 - /axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c
Date Tue, 23 Nov 2010 03:14:33 GMT
Author: nandika
Date: Tue Nov 23 03:14:32 2010
New Revision: 1037985

URL: http://svn.apache.org/viewvc?rev=1037985&view=rev
Log:
ssl_stream.c SSL_set_mode(stream_impl->ssl, SSL_MODE_AUTO_RETRY); added before read operation
to fix the premature close error

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c?rev=1037985&r1=1037984&r2=1037985&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c Tue Nov 23 03:14:32
2010
@@ -207,6 +207,7 @@ axis2_ssl_stream_skip(
         AXIS2_HANDLE_ERROR(env, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return -1;
     }
+	SSL_set_mode(stream_impl->ssl, SSL_MODE_AUTO_RETRY);
     len = SSL_read(stream_impl->ssl, tmp_buffer, count);
     AXIS2_FREE(env->allocator, tmp_buffer);
     return len;



Mime
View raw message