curl-curl/tests/data/test445
Daniel Stenberg 9f7295fb23
test445: fix error code, remove SMB use
The test should now expect error 7. SMB is now opt-in, so not used in as
many builds anymore.

Follow-up to a186ecf4bf

Closes #21160
2026-03-30 18:50:44 +02:00

62 lines
950 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
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 --insecure
</command>
</client>
# Verify data after the test has been "shot"
<verify>
# refused in the CONNECT
<errorcode>
7
</errorcode>
<limits>
Allocations: 1500
</limits>
</verify>
</testcase>