开发者

http socket proxy server

开发者 https://www.devze.com 2023-03-16 12:27 出处:网络
i think you should make it like BrowserProxyHTTP server send tcp request (header) >---------| \\|/ read header

i think you should make it like

Browser                            Proxy                     HTTP server
send tcp request (header) >---------|
                                   \|/
                                   read header
                                   redirect header >---------|
                                                            \|/
                                                            do stuff
                                                            make header
 Get Header <--------------------< redirect header <------< send header
                                                            read content
                                                            morph content (like .php )
 Get content <-------------------< redirect content <-----< send content

i tried to make it like this but it didn't work out it was buggy and it only worked for one server

i did it trying to open the program on ot开发者_如何学Cher computers but to only accepted local host

is this te correct way or do i need to change my view on this?

0

精彩评论

暂无评论...
验证码 换一张
取 消