诸暨麻将添加redis
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

72 lignes
1.1 KiB

  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. HTTP
  6. HTTP CONNECT
  7. HTTP proxy
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <connect>
  14. HTTP/1.1 200 Mighty fine indeed
  15. smtp: sure hit me
  16. </connect>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <server>
  22. smtp
  23. http-proxy
  24. </server>
  25. <name>
  26. SMTP send tunneled trough HTTP proxy
  27. </name>
  28. <stdin>
  29. From: different
  30. To: another
  31. body
  32. </stdin>
  33. <command>
  34. smtp://smtp.1320:%SMTPPORT/user --mail-rcpt 1320@foo --mail-rcpt 1320@foobar.example --mail-from 1320@from -T - -p -x %HOSTIP:%PROXYPORT
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <strip>
  41. ^User-Agent: curl/.*
  42. </strip>
  43. <protocol>
  44. EHLO user
  45. MAIL FROM:<1320@from>
  46. RCPT TO:<1320@foo>
  47. RCPT TO:<1320@foobar.example>
  48. DATA
  49. QUIT
  50. </protocol>
  51. <upload>
  52. From: different
  53. To: another
  54. body
  55. .
  56. </upload>
  57. <proxy>
  58. CONNECT smtp.1320:%SMTPPORT HTTP/1.1
  59. Host: smtp.1320:%SMTPPORT
  60. User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e
  61. Proxy-Connection: Keep-Alive
  62. </proxy>
  63. </verify>
  64. </testcase>