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 70b897e commit afcee5b
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 @@ -914,6 +914,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 afcee5b

Please sign in to comment.