mirror of
https://github.com/curl/curl.git
synced 2026-08-03 01:30:29 +03:00
tidy-up: miscellaneous
- whitespace, indent, comments, clang-format. - openssl: move feature guards within function blocks. - tunit: drop redundant blocks. Closes #20361
This commit is contained in:
parent
2c6f13093e
commit
814b54d83e
45 changed files with 1521 additions and 1527 deletions
|
|
@ -50,7 +50,7 @@ lib%TESTNUMBER
|
|||
CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED
|
||||
</name>
|
||||
<command>
|
||||
http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ lib%TESTNUMBER
|
|||
CURLOPT_PROXYHEADER: separate host/proxy headers
|
||||
</name>
|
||||
<command>
|
||||
http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ lib%TESTNUMBER
|
|||
Same headers with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED
|
||||
</name>
|
||||
<command>
|
||||
http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ lib%TESTNUMBER
|
|||
Separately specified proxy/server headers sent in a proxy GET
|
||||
</name>
|
||||
<command>
|
||||
http://the.old.moo:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
http://the.old.moo:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ lib%TESTNUMBER
|
|||
HTTP request-injection in URL sent over proxy
|
||||
</name>
|
||||
<command>
|
||||
"http://the.old.moo:%HTTPPORT/%TESTNUMBER" %HOSTIP:%PROXYPORT
|
||||
"http://the.old.moo:%HTTPPORT/%TESTNUMBER" %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ HTTP Digest auth
|
|||
|
||||
<!--
|
||||
|
||||
Explanation for the duplicate 400 requests:
|
||||
Explanation for the duplicate 400 requests:
|
||||
|
||||
libcurl does not detect that a given Digest password is wrong already on the
|
||||
first 401 response (as the data400 gives). libcurl will instead consider the
|
||||
new response just as a duplicate and it sends another and detects the auth
|
||||
problem on the second 401 response!
|
||||
libcurl does not detect that a given Digest password is wrong already on the
|
||||
first 401 response (as the data400 gives). libcurl will instead consider the
|
||||
new response just as a duplicate and it sends another and detects the auth
|
||||
problem on the second 401 response!
|
||||
|
||||
-->
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,12 @@ ensure that the order does not matter. -->
|
|||
|
||||
<!--
|
||||
|
||||
Explanation for the duplicate 400 requests:
|
||||
Explanation for the duplicate 400 requests:
|
||||
|
||||
libcurl does not detect that a given Digest password is wrong already on the
|
||||
first 401 response (as the data400 gives). libcurl will instead consider the
|
||||
new response just as a duplicate and it sends another and detects the auth
|
||||
problem on the second 401 response!
|
||||
libcurl does not detect that a given Digest password is wrong already on the
|
||||
first 401 response (as the data400 gives). libcurl will instead consider the
|
||||
new response just as a duplicate and it sends another and detects the auth
|
||||
problem on the second 401 response!
|
||||
|
||||
-->
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ IMAP custom FETCH with larger literal response (~7KB)
|
|||
</name>
|
||||
# The quoted string contains {50} which must not be parsed as a literal
|
||||
<command>
|
||||
imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/ -u user:secret -X 'FETCH 456 ("fake {50}" BODY[TEXT])'
|
||||
imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/ -u user:secret -X 'FETCH 456 ("fake {50}" BODY[TEXT])'
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ http
|
|||
<name>
|
||||
--remove-on-error with --no-clobber and an added number
|
||||
</name>
|
||||
<command option="no-output">
|
||||
<command option="no-output">
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/save --remove-on-error --no-clobber
|
||||
</command>
|
||||
</client>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ imap
|
|||
IMAP custom request does not check continuation data
|
||||
</name>
|
||||
<command>
|
||||
imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/ -u user:secret -X 'FETCH 123 BODY[1]'
|
||||
imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/ -u user:secret -X 'FETCH 123 BODY[1]'
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue