sureshsundar007
September 4th, 2003, 06:34 AM
hi friends,
I'm building a proxy server using c#.I completed the code to handle http but i'm struggling with https.After i receive the CONNECT command i can able to connect to port 443 to the appropriate server and i send the response back to the browser as
"HTTP/1.0 200 Connection established\r\nProxy-Agent: Dynu Proxy Server\r\n\r\n".
I checked the number bytes sent for this response..it is 71 and it is correct.
But after that i'm getting an junk message instead of 'SSL Hello' from the browser,and after that i'm not getting any other messages..I use IE as client and use proxy for all protocols in LAN settings option(I tried netscape also..it doesnt work).Can any one tell me what's going wrong with this?
Thanks,
Suresh.
I'm building a proxy server using c#.I completed the code to handle http but i'm struggling with https.After i receive the CONNECT command i can able to connect to port 443 to the appropriate server and i send the response back to the browser as
"HTTP/1.0 200 Connection established\r\nProxy-Agent: Dynu Proxy Server\r\n\r\n".
I checked the number bytes sent for this response..it is 71 and it is correct.
But after that i'm getting an junk message instead of 'SSL Hello' from the browser,and after that i'm not getting any other messages..I use IE as client and use proxy for all protocols in LAN settings option(I tried netscape also..it doesnt work).Can any one tell me what's going wrong with this?
Thanks,
Suresh.