test719 912 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. SOCKS5
  7. SOCKS5h
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. HTTP/1.1 200 OK
  15. Date: Tue, 09 Nov 2010 14:49:00 GMT
  16. Server: test-server/fake
  17. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  18. ETag: "21025-dc7-39462498"
  19. Accept-Ranges: bytes
  20. Content-Length: 6
  21. Connection: close
  22. Content-Type: text/html
  23. Funny-head: yesyes
  24. -foo-
  25. </data>
  26. </reply>
  27. #
  28. # Client-side
  29. <client>
  30. <features>
  31. ipv6
  32. proxy
  33. </features>
  34. <server>
  35. http
  36. socks5
  37. </server>
  38. <name>
  39. HTTP GET with IPv6 numerical via SOCKS5h
  40. </name>
  41. <command>
  42. http://[2200::33]:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
  43. </command>
  44. </client>
  45. #
  46. # Verify data after the test has been "shot"
  47. <verify>
  48. <protocol>
  49. GET /%TESTNUMBER HTTP/1.1
  50. Host: [2200::33]:%HTTPPORT
  51. User-Agent: curl/%VERSION
  52. Accept: */*
  53. </protocol>
  54. <socks>
  55. atyp 4 => 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33
  56. </socks>
  57. </verify>
  58. </testcase>