summaryrefslogtreecommitdiff
path: root/tests/data/test1406
Commit message (Collapse)AuthorAgeFilesLines
* ftp: CURLOPT_FTP_SKIP_PASV_IP by defaultDaniel Stenberg2020-12-071-0/+1
| | | | | | | | | | | | The command line tool also independently sets --ftp-skip-pasv-ip by default. Ten test cases updated to adapt the modified --libcurl output. Bug: https://curl.se/docs/CVE-2020-8284.html CVE-2020-8284 Reported-by: Varnavas Papaioannou
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* curl: support parallel transfersDaniel Stenberg2019-07-201-1/+1
| | | | | | | | This is done by making sure each individual transfer is first added to a linked list as then they can be performed serially, or at will, in parallel. Closes #3804
* tests: make test 1420 and 1406 work with rtsp-disabled libcurlMaksim Stsepanenka2019-05-271-1/+2
| | | | Closes #3948
* http: added options for allowing HTTP/0.9 responsesDaniel Stenberg2018-12-211-0/+1
| | | | | | | | | | | | Added CURLOPT_HTTP09_ALLOWED and --http0.9 for this purpose. For now, both the tool and library allow HTTP/0.9 by default. docs/DEPRECATE.md lays out the plan for when to reverse that default: 6 months after the 7.64.0 release. The options are added already now so that applications/scripts can start using them already now. Fixes #2873 Closes #3383
* curl: show headers in boldDaniel Stenberg2018-05-211-1/+0
| | | | | | | | | | | | | | | | | | The feature is only enabled if the output is believed to be a tty. -J: There's some minor differences and improvements in -J handling, as now J should work with -i and it actually creates a file first using the initial name and then *renames* that to the one found in Content-Disposition (if any). -i: only shows headers for HTTP transfers now (as documented). Previously it would also show for pieces of the transfer that were HTTP (for example when doing FTP over a HTTP proxy). -i: now shows trailers as well. Previously they were not shown at all. --libcurl: the CURLOPT_HEADER is no longer set, as the header output is now done in the header callback.
* Revert "curl: don't set CURLOPT_INTERLEAVEDATA"Daniel Stenberg2017-12-111-0/+1
| | | | | | | | | This reverts commit 9ffad8eb1329bb35c8988115ac7ed85cf91ef955. It was actually added rather recently in 8e8afa82cbb629 due to a crash that would otherwise happen in the RTSP code. As I don't think we've fixed that behavior yet, we better keep this work-around until we have fixed it better.
* curl: don't set CURLOPT_INTERLEAVEDATADaniel Stenberg2017-12-081-1/+0
| | | | | | | | | That data is only ever used by the CURLOPT_INTERLEAVEFUNCTION callback and that option isn't set or used by the curl tool! Updates the 9 tests that verify --libcurl Closes #2167
* curl: set a 100K buffer size by defaultDaniel Stenberg2017-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | Test command 'time curl http://localhost/80GB -so /dev/null' on a Debian Linux. Before (middle performing run out 9): real 0m28.078s user 0m11.240s sys 0m12.876s After (middle performing run out 9) real 0m26.356s (93.9%) user 0m5.324s (47.4%) sys 0m8.368s (65.0%) Also, doing SFTP over a 200 millsecond latency link is now about 6 times faster. Closes #1446
* tests: strip more options from non-HTTP --libcurl testsDan Fandrich2017-03-201-6/+3
| | | | | | The CURLOPT_USERAGENT and CURLOPT_MAXREDIRS options are only set if HTTP support is available, so ignore them in tests where HTTP is not guaranteed.
* tests: clear the SSL_CERT_FILE variable on --libcurl testsDan Fandrich2017-03-121-0/+3
| | | | | Otherwise, the contents will end up in the output and fail the verification.
* test14xx: fixed --libcurl output tests again after 8e8afa82cbbDaniel Stenberg2016-10-181-0/+1
|
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* curl: use 2TLS by defaultDaniel Stenberg2015-12-131-2/+3
| | | | | | | | | Make this the default for the curl tool (if built with HTTP/2 powers enabled) unless a specific HTTP version is requested on the command line. This should allow more users to get HTTP/2 powers without having to change anything.
* tests: Updated "based on" text due to email test renumberingSteve Holme2014-09-071-1/+1
|
* tests: For consistency added --libcurl to test nameSteve Holme2014-09-071-1/+1
|
* tests: Fixed typos from commit 25a0c96a494297Steve Holme2013-09-291-1/+1
|
* tests: Updated email addresses in SMTP tests following recent changesSteve Holme2013-09-291-7/+7
|
* ftpserver.pl: Moved specifying the test number from the RCPT addressSteve Holme2013-09-291-3/+3
| | | | | | | ...to the client address as this frees the RCPT strings to contain just an email address and by passing the test number into curl as the client address remains consistent with POP3 and IMAP tests as they are specified in the URL.
* tests: Fixed smtp rcpt to addressesSteve Holme2013-09-221-5/+5
|
* tests: Fixed smtp mail from addressesSteve Holme2013-09-191-3/+3
|
* tests: Fixed test 1406 following recent changes in ftpserver.plSteve Holme2013-09-161-0/+3
| | | | | By default the mail server doesn't send the SIZE capability but instead it has to be specified as a supported capability.
* smtp: Fixed sending of double CRLF caused by first in EOBSteve Holme2013-05-041-1/+0
| | | | | | | | If the mail sent during the transfer contains a terminating <CRLF> then we should not send the first <CRLF> of the EOB as specified in RFC-5321. Additionally don't send the <CRLF> if there is "no mail data" as the DATA command already includes it.
* tests: Corrected MAIL SIZE for CRLF line endingsSteve Holme2013-05-031-1/+1
| | | | ... which was missed in commit: f5c3d9538452
* tests: Corrected infilesize for CRLF line endingsSteve Holme2013-05-031-1/+1
| | | | ... which was missed in commit: f5c3d9538452
* tests: Corrected test1406 to be RFC2821 compliantSteve Holme2013-05-031-8/+8
|
* Made -D option work with -O and -J.Tatsuhiro Tsujikawa2012-05-251-0/+2
| | | | | | | | | | | | | | To achieve this, first new structure HeaderData is defined to hold necessary data to perform header-related work. Then tool_header_cb now receives HeaderData pointer as userdata. All header-related work (currently, dumping header and Content-Disposition inspection) are done in this callback function. HeaderData.outs->config is used to determine whether each work is done. Unit tests were also updated because after this change, curl code always sets CURLOPT_HEADERFUNCTION and CURLOPT_HEADERDATA. Tested with -O -J -D, -O -J -i and -O -J -D -i and all worked fine.
* tests 140X: fix --libcurl generated source file reading mode for MSYS buildsYang Tse2012-03-181-1/+1
|
* test: --libcurl fixesDaniel Stenberg2012-02-231-9/+11
| | | | | | | | The line endings broke when I saved the three recent patches (my fault, not Colin's) to 'git am' them. Adjusted the stripping of the test program for comparing to also exclude the SSH key file name as that will differ and use a local path name.
* Add tests for curl's --libcurl output.Colin Hogben2012-02-231-0/+119
These tests check the output of the --libcurl option of curl, including the improved option handling added in a related patch.