I did not get any result in a day. I took a look at the web proxy that was not successfully debugged Based on the online example. I have learned about reverse proxy before, but I didn't pay too much attention to Web Proxy, I used Web proxy to access the Internet at school, but I never paid attention to its implementation principle. I also used Web proxy for HTTP packet capture of fenders,
Open fenders and you will find ie:
Click Advanced. The proxy IP address is set to 127.0.0.1 and the port number is 8888.
Open Firefox and set the proxy IP address.
However, fenders can proxy HTTPS websites.
The principle of Web Proxy is very simple: the browser sends the requested domain name to the proxy server, the proxy server receives the request, parses the server address, and then the proxy server forms an HTTP request to the request server, then the proxy server returns the received data to the browser.
The reason for failing to test the above source file is:
I use ppoe to access the Internet. I have to set up a proxy in the ppoe settings. Otherwise, I will not be able to send data to the proxy server you are listening to. Of course, you can also disconnect ppoe.
Source File example (vs2008)
Http://download.csdn.net/detail/jj516585042/4885311 (csdn)
115 Network Disk: http://115.com/file/dwi856c6