Skip to content

Commit 1d276a8

Browse files
AladdinAladdin
authored andcommitted
connect reason-phrase
1 parent 029eda0 commit 1d276a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pproxy/proto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ async def http_accept(self, user, method, path, authority, ver, lines, host, pau
320320
authtable.set_authed(user)
321321
if method == 'CONNECT':
322322
host_name, port = netloc_split(authority or path)
323-
return user, host_name, port, lambda writer: reply(200, f'{ver} 200 Connection Established\r\nConnection: close\r\n\r\n'.encode())
323+
return user, host_name, port, lambda writer: reply(200, f'{ver} 200 Connection established\r\nConnection: close\r\n\r\n'.encode())
324324
else:
325325
host_name, port = netloc_split(url.netloc or host, default_port=80)
326326
newpath = url._replace(netloc='', scheme='').geturl()

0 commit comments

Comments
 (0)