> From: owner-openssl-us...@openssl.org On Behalf Of Kyle Hamilton
> Sent: Monday, 08 June, 2009 13:46

> SSL_ERROR_SYSCALL means that an underlying call to the system failed.
> Check errno in that case.
> 
Or in desktop-Windows=Winsock2 WSAGetLastError() .
I don't know if windows mobile(?) is the same.

> 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.
> >


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to