开发者

http socket proxy server

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜