News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Services for .NET 2.0 Forum
 
HTTPS WebServer

Reply

by Craig
posted on 2007/04/04

Hi,

I have been attempting to use the example WebServer. When testing locally by accessing it directly at 127.0.0.1:8081 the https connection is created and the example page is returned. However when I test by going through a proxy which points directly to the web server the connection fails because the hello message is not a valid. Now I have attempted to try and find the difference between the two connection requests but am struggling to find where exactly the connection is initialized and which buffer I should be looking at.

If you could give me any point in the right direction I would much appreciate it.

Thanks in advance,
Craig

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2007/08/14
Reply

Keep in mind that the WebServer example is a _very_ limited implementation of the HTTP protocol. It is very likely that the proxy rewrites the HTTP headers in such a way that the WebServer example doesn't understand it.

This example was written to show how to work with an SSL server socket, it was not a design goal to have a full HTTP/1.1 implementation of course.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.