--- "Dr. Stephen Henson" <[EMAIL PROTECTED]> wrote:
> On Sat, Jul 22, 2006, Bu Bacoo wrote:
>
> > Thanks you both... after correcting my
> BIO_do_connect (and all
> > read/write following it) -> adding retries (as
> Girish pointed), it
> > works just fine.
> > Now I'll check the errors, mentioned
> Thanks you both... after correcting my BIO_do_connect (and all
> read/write following it) -> adding retries (as Girish pointed), it
> works just fine.
> Now I'll check the errors, mentioned by Darryl, to make it more clear,
> not just to retry until some counter runs out.
Don't do that.
On Sat, Jul 22, 2006, Bu Bacoo wrote:
> Thanks you both... after correcting my BIO_do_connect (and all
> read/write following it) -> adding retries (as Girish pointed), it
> works just fine.
> Now I'll check the errors, mentioned by Darryl, to make it more clear,
> not just to retry until some cou
Hello,
> > parent accept() and SSL_accept() then fork(), parent
> > SSL_free() and close() and child to some work.
>
> What work would that be? It should not be possible for the child
> process to splice itself into the middle of an SSL session without
> the required cryptographic state...
Of cour
Thanks you both... after correcting my BIO_do_connect (and all
read/write following it) -> adding retries (as Girish pointed), it
works just fine.
Now I'll check the errors, mentioned by Darryl, to make it more clear,
not just to retry until some counter runs out.
Thanks.
Bu
On 7/22/06, Darryl M
Bu Bacoo wrote:
Instead of modifying the BIO, I've also tried to set it's socket to
non-blocking mode. Same result, BIO_do_connect returns -1
BIO* pBio = BIO_new_connect((char*)conn.c_str());
BIO_socket_nbio(BIO_get_fd(pBio,NULL), 1);
BIO_do_connect(pBio); //returns -1
On 7/22/06, Bu Bacoo <[EM
Hello,
--- Bu Bacoo <[EMAIL PROTECTED]> wrote:
> Instead of modifying the BIO, I've also tried to set
> it's socket to
> non-blocking mode. Same result, BIO_do_connect
> returns -1
This is good news then since it is expected behavior.
:-) You are doing nothing wrong till now. However you
have to
Instead of modifying the BIO, I've also tried to set it's socket to
non-blocking mode. Same result, BIO_do_connect returns -1
BIO* pBio = BIO_new_connect((char*)conn.c_str());
BIO_socket_nbio(BIO_get_fd(pBio,NULL), 1);
BIO_do_connect(pBio); //returns -1
On 7/22/06, Bu Bacoo <[EMAIL PROTECTED]> w
Hello, I'm having problem with BIO_do_connect, when trying to setup
non-blocking behaviour for it.
When using:
BIO* pBio = BIO_new_connect((char*)conn.c_str());
BIO_set_nbio(m_pBio,0); //returns 1
BIO_do_connect(m_pBio); //returns 1
it works just fine,...
.. but with non blocking:
BIO* pBio = B
Sorry for typo, should be pBio instead of m_pBio everywhere.
On 7/22/06, Bu Bacoo <[EMAIL PROTECTED]> wrote:
Hello, I'm having problem with BIO_do_connect, when trying to setup
non-blocking behaviour for it.
When using:
BIO* pBio = BIO_new_connect((char*)conn.c_str());
BIO_set_nbio(m_pBio,0);
10 matches
Mail list logo