Re: errno=5 in SSL_read( )

2006-04-25 Thread Daniel Morales (sent by Nabble.com)
Hello.. I'm new here. I'm from Uruguay and i am looking for some help With regular sockets i use to read one char from the server char c; i = recv(fd,&c, 1,0); with SSL_read() is the same? Because i cant read. When i write the GET in the server with the \r\n\r\n at the end nothing append. som

RE: errno=5 in SSL_read( )

2006-04-20 Thread Gayathri Sundar
enssl-users@openssl.orgSubject: Re: errno=5 in SSL_read( )Gayathri,Thanks for your message.I could see from your snippet you have used BIO in non blocking mode. But my application must be in such a way that it must wait to read the data. Do you have any idea on trying this for blocking

Re: errno=5 in SSL_read( )

2006-04-19 Thread Haridharan Nattamai
Gayathri,Thanks for your message.I could see from your snippet you have used BIO in non blocking mode. But my application must be in such a way that it must wait to read the data. Do you have any idea on trying this for blocking mode. thanks,HaridharanOn 4/20/06, Gayathri Sundar <[EMAIL PROTECTED]>

RE: errno=5 in SSL_read( )

2006-04-19 Thread Gayathri Sundar
I too faced similar problem when I pumped heavy data via smart bits.. this piece of code worked for me..btw the underlying bio in non blocking..      do  {    ERR_clear_error();    nbytesread = SSL_read(pSSLObject,pBuffer,BufSize);    if(nbytesread > 0 )    {   totalbytesread += nbytes