Hi,

An update,

SSL_connect is failing with SSL_ERROR_WANT_READ.I understand that client is
waiting on server to write some data.But I dont understand what to change
code in server side.


pradeepreddy wrote:
> 
> Hi,
> Iam a new member into this forum.
> 
> Issue:
> 
> I have to implement openssl in my project.project is implemented with
> gsoap.
> 
> in "r = SSL_connect(soap->ssl)) <= 0)"
> SSL_connect call is unable to make a connection to the server.Both server
> and client are in local host
> 
> I see server is ready to accept the connections, as I see below connection
> established with netstat command:
> 
> TCP    cspxppgudepu:15000     cspxppgudepu.com:0  LISTENING
> TCP    cspxppgudepu:15000     localhost:2864         ESTABLISHED
> 
> Above 15000 port is for server.
> 
> Below is client connection:
>  TCP    cspxppgudepu:16000     cspxppgudepu.com:0  LISTENING
> 
> But SSL_connect is unable to connect.It is always failing with return code
> -1.
> 
> With out SSL connection,simple TCP conection, both ends are able to
> connect and communicate.
> 
> My network configuration settings are:
> 
>       <NetworkConfig>
>               <Server Location="https://127.0.0.1:15000"; />
>               <Client Location="https://127.0.0.1:16000"; />
> 
> 
> Thanks in advance.
> Pradeep Reddy.
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/OPENSSL-SSL_Connect-blocking-tp29708086p29710645.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to