shragi
asked on
gnutls https proxy
am writing a https proxy
I am using gnutls to connect to https:www.google.com and I am able to receive the complete response and rendered back to the browser.
Initiallly loop structure
establishing gnu tls session here //need help here -----1
do
{
select()
if (browser wannts to talk)
//in a loop
then send received request to server
if (server wants to talk)
//in a loop
receive data and sent back to browser
}while(true)
Initial request is of the form https:www.google.com...and works fine.
After that browser sends another request like
GET https://www.google.com/favicon.ico HTTP/1.1
----
----
Here I know that web server is not closing the TCP connection because I able to see in wireshark, But I think gnutls session is closed.
Do some one know...how Rehandshake is established...or conform how the protocal need to work after this step to render the complete google.com page in browser.
I hope session need to be re created (not sure) or use sone method calls like rehandshake to re establish the session.
Please help me regarding this.
I am using gnutls to connect to https:www.google.com and I am able to receive the complete response and rendered back to the browser.
Initiallly loop structure
establishing gnu tls session here //need help here -----1
do
{
select()
if (browser wannts to talk)
//in a loop
then send received request to server
if (server wants to talk)
//in a loop
receive data and sent back to browser
}while(true)
Initial request is of the form https:www.google.com...and works fine.
After that browser sends another request like
GET https://www.google.com/favicon.ico HTTP/1.1
----
----
Here I know that web server is not closing the TCP connection because I able to see in wireshark, But I think gnutls session is closed.
Do some one know...how Rehandshake is established...or conform how the protocal need to work after this step to render the complete google.com page in browser.
I hope session need to be re created (not sure) or use sone method calls like rehandshake to re establish the session.
Please help me regarding this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.