quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test716 (839B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 SOCKS5
      6 all_proxy
      7 </keywords>
      8 </info>
      9 #
     10 # Server-side
     11 <reply>
     12 # method 2 is SOCKS5 asking for user+password
     13 <servercmd>
     14 method 2
     15 </servercmd>
     16 </reply>
     17 
     18 #
     19 # Client-side
     20 <client>
     21 <server>
     22 socks5
     23 </server>
     24 <features>
     25 http
     26 proxy
     27 </features>
     28 <name>
     29 SOCKS5 proxy with too long user name
     30 </name>
     31 
     32 # it should never connect to the target server
     33 <command>
     34 http://hohoho.example.com:99/%TESTNUMBER -x socks5://AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:b@%HOSTIP:%SOCKSPORT
     35 </command>
     36 </client>
     37 
     38 #
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <errorcode>
     42 97
     43 </errorcode>
     44 </verify>
     45 </testcase>