Skip to content

Commit

Permalink
add 'HTTP' proxy type
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Dec 8, 2022
1 parent bee5259 commit cc1a1fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,7 @@ def proxy_connect(options):
proxy_type = {
"SOCKS5" : socks.SOCKS5,
"SOCKS4" : socks.SOCKS4,
"HTTP" : socks.HTTP,
}.get(ptype, socks.SOCKS5)
if not proxy_type:
raise InitExit(EXIT_UNSUPPORTED, f"unsupported proxy type {ptype!r}")
Expand Down

0 comments on commit cc1a1fa

Please sign in to comment.