File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11__title__ = "pproxy"
2- __version__ = "2.0.8 "
2+ __version__ = "2.0.9 "
33__license__ = "MIT"
44__description__ = "Proxy server that can tunnel among remote servers by regex rules."
55__keywords__ = "proxy socks http shadowsocks shadowsocksr ssr redirect pf tunnel cipher ssl udp"
Original file line number Diff line number Diff line change @@ -305,7 +305,6 @@ def write(data, o=writer_remote.write):
305305 raise Exception ('Unknown HTTP header for protocol HTTPOnly' )
306306 method , path , ver = header .groups ()
307307 data = f'{ method } http://{ host_name } { ":" + str (port ) if port != 80 else "" } { path } { ver } ' .encode () + (b'\r \n Proxy-Authorization: Basic ' + base64 .b64encode (rauth ) if rauth else b'' ) + b'\r \n ' + buffer [pos + 1 :]
308- print (data )
309308 return o (data )
310309 writer_remote .write = write
311310
You can’t perform that action at this time.
0 commit comments