mirror of
https://github.com/curl/curl.git
synced 2026-04-12 12:21:42 +08:00
To formalize they are now XML-compliant (with some asterisks.) Also to help syntax highlighters work on them to make their content more readable. Also: - Delete empty comment decorations. - GHA/checksrc: simplify XML check. - runtests: fail to load test data with XML prolog missing. Follow-up tobfe6eb1c06#19927 Follow-up to87ba80a6dfCloses #19946
63 lines
978 B
XML
63 lines
978 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP proxy
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<connect>
|
|
HTTP/1.1 503 no just no
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
|
Server: test-server/fake
|
|
Accept-Ranges: bytes
|
|
Content-Length: 6
|
|
Connection: close
|
|
|
|
-foo-
|
|
</connect>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
gopher
|
|
dict
|
|
http
|
|
ftp
|
|
imap
|
|
ldap
|
|
mqtt
|
|
pop3
|
|
rtsp
|
|
scp
|
|
sftp
|
|
smb
|
|
smtp
|
|
</features>
|
|
<server>
|
|
http-proxy
|
|
</server>
|
|
<name>
|
|
Refuse tunneling protocols through HTTP proxy
|
|
</name>
|
|
<command>
|
|
-x http://%HOSTIP:%PROXYPORT/%TESTNUMBER -p gopher://127.0.0.1 dict://127.0.0.1 http://moo https://example telnet://another ftp://yes ftps://again imap://more ldap://perhaps mqtt://yes pop3://mail rtsp://harder scp://copy sftp://files smb://wird smtp://send --insecure
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# refused in the CONNECT
|
|
<errorcode>
|
|
56
|
|
</errorcode>
|
|
<limits>
|
|
Allocations: 1700
|
|
</limits>
|
|
</verify>
|
|
</testcase>
|