Skip to content

Commit 265dd4f

Browse files
committed
remote print log
1 parent 2efed7e commit 265dd4f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

pproxy/__doc__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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"

pproxy/proto.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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\nProxy-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

0 commit comments

Comments
 (0)