mirror of
https://github.com/bolucat/Archive.git
synced 2025-10-07 09:01:51 +08:00
Update On Sun Jul 21 20:29:04 CEST 2024
This commit is contained in:
@@ -295,3 +295,16 @@ test_naive('HTTP-HTTP-HTTP', 'http://127.0.0.1:{PORT1}',
|
||||
'--log --listen=http://:{PORT1} --proxy=http://127.0.0.1:{PORT2}',
|
||||
'--log --listen=http://:{PORT2} --proxy=http://127.0.0.1:{PORT3}',
|
||||
'--log --listen=http://:{PORT3}')
|
||||
|
||||
test_naive('HTTP-HTTP (with auth)', 'http://127.0.0.1:{PORT1}',
|
||||
'--log --listen=http://:{PORT1} --proxy=http://hello:world@127.0.0.1:{PORT2}',
|
||||
'--log --listen=http://hello:world@127.0.0.1:{PORT2}')
|
||||
|
||||
test_naive('HTTPa-HTTPb,HTTPc (chaining with remote loop)', 'http://127.0.0.1:{PORT1}',
|
||||
'--log --listen=http://:{PORT2}',
|
||||
'--log --listen=http://:{PORT1} --proxy=http://127.0.0.1:{PORT2},http://127.0.0.1:{PORT2}')
|
||||
|
||||
test_naive('HTTPa-HTTPb,HTTPc (chaining with multiple auth)', 'http://127.0.0.1:{PORT1}',
|
||||
'--log --listen=http://hello:world2@127.0.0.1:{PORT2}',
|
||||
'--log --listen=http://hello:world3@127.0.0.1:{PORT3}',
|
||||
'--log --listen=http://127.0.0.1:{PORT1} --proxy=http://hello:world2@127.0.0.1:{PORT2},http://hello:world3@127.0.0.1:{PORT3}')
|
||||
|
Reference in New Issue
Block a user