SSL_ERROR_SYSCALL means that an underlying call to the system failed.
Check errno in that case.

If you're getting the error on larger pieces of data, instead of
smaller pieces of data, it sounds like you're not properly handling
the case where your read buffer isn't large enough, needs to be
extended, and the read continued.  Without knowing the value of errno,
it's impossible to guess, though.

-Kyle H

On Sun, Jun 7, 2009 at 10:28 PM, chithuanand<chithuan...@yahoo.com> wrote:
>
> Hi All,
>
> we are working on a client which runs on windows mobile. This client access
> a webservice using gSOAP generated stubs For secure webservice calls,we are
> using openssl for
> communication.
> My problem is that - while transferring data, SSL_read() always fails (after
> transferring few KB of data).
> The follwoing error is returned -
> ----------------------------------------------------------------------------------
>  SSL_read() returns SSL_ERROR_SYSCALL
>
> "error:00000005:lib(0):func(0):DH lib"
> -------------------------------------------------------------------------------
> This is not consistent across the different methods. The methods which pass
> bigger chunks of data in the request consistently fail, and the ones which
> pass lesser data  consistently pass.
>
> Any help will be much appreciated
>
> --
> View this message in context: 
> http://www.nabble.com/SSL_read%28%29-returns-SSL_ERROR_SYSCALL-tp23918379p23918379.html
> Sent from the OpenSSL - User mailing list archive at Nabble.com.
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-us...@openssl.org
> Automated List Manager                           majord...@openssl.org
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to