From: "Judin, Victor" <[EMAIL PROTECTED]>

victor.judin> I have a following question concerning OpenSSL:
victor.judin> if I am going to make a HTTP request via an internet
victor.judin> proxy, I need to make first a normal HTTP CONNECT
victor.judin> request, something like 
victor.judin> 
victor.judin> CONNECT hostname:443 HTTP/1.1\r\n
victor.judin> Host: hostname\r\n
victor.judin> ......
victor.judin> \r\n
victor.judin> , obtain a response
victor.judin> HTTP/1.1 200 Connected\r\n
victor.judin> .....
victor.judin> and reuse the already connected socket for further SSL traffic. 
victor.judin> As I understand, the OpenSSL library 'as it is' doesn't
victor.judin> accept already connected socket descriptor.

Hmm? I think SSL_set_fd() should suit your needs.  You also need to
use SSL_set_connect_state() to tell your SSL session that it's an
already connected socket.

I may have forgotten something.  Anyone?

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-161 43  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis             -- [EMAIL PROTECTED]

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to