> -----Original Message-----
> From: Stipe Tolj [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 14, 2002 12:06 AM
> Cc: Kannel-devel (E-mail)
> Subject: Re: OpenSSL question
> 
> 
> Oded Arbel wrote:
> > 
> > Hi list.
> > 
> > A question about SSL - I'm trying to establish a connection 
> (using gwlib
> > HTTPs support) to an HTTPS server, which unfortunatly is 
> not responding
> > well. whenever the server doesnot complete the SSL 
> handshake, the HTTP
> > connection gets stuck in SSL_connect. I was wanted to know 
> if there's
> > possibly a way to set a time out on http connections, so the would
> > properly fail after not completing for a long time ?
> 
> so you are trying to use the HTTP client side via SSL within Kannel,
> right?

right.

> 
> Jörg did most of the client side SSL coding. But AFAIK timeouts should
> be possible.

I wanted to know how to do it :-)
I tried to use SSL_CTX_set_timeout(), but it didn't help.
SSL_SESSION_set_timeout() wants a session state construct which I don't
know where to get from. and the OpenSSL docs say that I can use
non-blocking IO if I wish, but doing that I would have to rewrite too
much of conn.c, and I don't know enough about neither SSL nor conn.c to
do that in any decent amount of time - so I was looking for any kind of
help available :-)

> Is it the case that the SSL-enabled HTTP server works sometimes and
> sometimes not? I guess it's not a Apache+mod_ssl installation?! :))

Yes - it's a BEA WebLogic, and it's not my server - so I can't do much
about it. also the people running that server are not very forthcoming
when it comes to helping out with that kind of problems.

Oh well, back to the old drawing board ;->

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

Capt'n!  The spellchecker kinna take this abuse!


Reply via email to