mirror of
https://github.com/curl/curl.git
synced 2026-04-14 13:01:42 +08:00
curl is for transfers so disabling all protocols has to be a mistake. Previously it would allow this to get set (even if curl_easy_setopt() returns an error for it) and then let libcurl return error instead. Updated 1474 accordingly. Closes #19388
38 lines
455 B
Plaintext
38 lines
455 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP GET
|
|
--proto
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
http
|
|
</features>
|
|
<name>
|
|
--proto -all disables all protocols
|
|
</name>
|
|
<command>
|
|
--proto -all http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 2 failed init, the --proto argument is not accepted
|
|
<errorcode>
|
|
2
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|