summaryrefslogtreecommitdiff
path: root/tests/data
Commit message (Collapse)AuthorAgeFilesLines
* test1280: CRLFify the response to please hyperDaniel Stenberg2021-08-261-5/+5
| | | | Closes #7639
* tests: enable test 1129 for hyper buildsDaniel Stenberg2021-08-261-1/+0
| | | | Closes #7638
* c-hyper: handle HTTP/1.1 => HTTP/1.0 downgrade on reused connectionDaniel Stenberg2021-08-231-1/+0
| | | | | | Enable test 1074 Closes #7617
* c-hyper: deal with Expect: 100-continue combined with POSTFIELDSDaniel Stenberg2021-08-231-2/+0
| | | | | | Enable test 1130 and 1131 Closes #7616
* DISABLED: enable 11 more tests for hyper buildsDaniel Stenberg2021-08-231-11/+0
| | | | Closes #7612
* setopt: enable CURLOPT_IGNORE_CONTENT_LENGTH for hyperDaniel Stenberg2021-08-231-1/+0
| | | | | | | | | | | Since this option is also used for FTP, it needs to work to set for applications even if hyper doesn't support it for HTTP. Verified by test 1137. Updated docs to specify that the option doesn't work for HTTP when using the hyper backend. Closes #7614
* test1138: remove trailing space to make work with hyperDaniel Stenberg2021-08-232-3/+2
| | | | Closes #7613
* man pages: remove trailing whitespacesDaniel Stenberg2021-08-211-0/+6
| | | | | | | | | Extended test 1173 (via the manpage-syntax.pl script) to detect and warn for them. Ref: #7602 Reported-by: a1346054 on github Closes #7604
* http_proxy: fix user-agent and custom headers for CONNECT with hyperDaniel Stenberg2021-08-201-1/+0
| | | | | | Enable test 287 Closes #7598
* c-hyper: initial support for "dumping" 1xx HTTP responsesDaniel Stenberg2021-08-201-4/+0
| | | | | | | | With the use hyper_request_on_informational() Enable test 155 and 158 Closes #7597
* c-hyper: initial step for 100-continue supportDaniel Stenberg2021-08-131-1/+0
| | | | | | Enabled test 154 Closes #7568
* http: consider cookies over localhost to be secureDaniel Stenberg2021-08-103-71/+132
| | | | | | | | | Updated test31. Added test 392 to verify secure cookies used for http://localhost Reviewed-by: Daniel Gustafsson Fixes #6733 Closes #7263
* tests: make three tests pass until 2037Bernhard M. Wiedemann2021-07-302-5/+5
| | | | | | after 2038 something in test1915 fails on 32-bit OSes Closes #7512
* cleanup: spell DoH with a lowercase oJosh Soref2021-07-161-3/+3
| | | | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Closes #7413
* test1147: hyper doesn't allow "crazy" request headers like built-inDaniel Stenberg2021-07-052-1/+4
| | | | | | ... so strip that from the test. Closes #7349
* c-hyper: bail on too long response headersDaniel Stenberg2021-07-051-2/+0
| | | | | | To match with built-in behaviors. Makes test 1154 work. Closes #7350
* test1151: added missing CRLF to work with hyperDaniel Stenberg2021-07-051-0/+1
| | | | Closes #7350
* test1116: hyper doesn't pass through "surprise-trailers"Daniel Stenberg2021-07-052-1/+6
| | | | Closes #7344
* test1519: adjusted to work with hyperDaniel Stenberg2021-07-012-6/+5
| | | | Closes #7333
* test1518: adjusted to work with hyperDaniel Stenberg2021-07-012-6/+5
| | | | | | ... by making sure the stdout output doesn't look like HTTP headers. Closes #7333
* test1514: add a CRLF to the response to make it correctDaniel Stenberg2021-07-012-1/+1
| | | | | | | Makes hyper accept it fine instead returning HYPERE_UNEXPECTED_EOF on us. Closes #7334
* test677: IMAP CONNECT_ONLY, custom command and then exitDaniel Stenberg2021-06-243-2/+44
| | | | | | Adjusted ftpserver.pl to add support for the IMAP IDLE command Adjusted test 660 to sync with the fix
* hyper: propagate errors back up from read callbacksDaniel Stenberg2021-06-172-1/+2
| | | | | | Makes test 513 work with hyper Closes #7266
* curl_url_set: reject spaces in URLs w/o CURLU_ALLOW_SPACEDaniel Stenberg2021-06-152-2/+2
| | | | | | | | | | | | | They were never officially allowed and slipped in only due to sloppy parsing. Spaces (ascii 32) should be correctly encoded (to %20) before being part of a URL. The new flag bit CURLU_ALLOW_SPACE when a full URL is set, makes libcurl allow spaces. Updated test 1560 to verify. Closes #7073
* netrc: skip 'macdef' definitionsDaniel Stenberg2021-06-132-1/+61
| | | | | | | | Add test 494 to verify Reported-by: Harry Sintonen Fixes #7238 Closes #7244
* mqtt: add support for username and passwordGealber Morales2021-06-127-0/+343
| | | | | | | Minor-edits-by: Daniel Stenberg Added test 2200 to 2205 Closes #7243
* tests/data/DISABLED: add tests not working with hyperDaniel Stenberg2021-06-101-0/+116
| | | | | | The goal is to remove them all from here over time. Closes #7209
* test3010: work with hyper modeDaniel Stenberg2021-06-101-2/+2
| | | | Closes #7209
* test1594/1595/1596: fix to work in hyper modeDaniel Stenberg2021-06-103-3/+3
| | | | Closes #7209
* test1438/1457: add HTTP keyword to make hyper mode workDaniel Stenberg2021-06-102-0/+2
| | | | Closes #7209
* test1340/1341: adjusted for hyper modeDaniel Stenberg2021-06-102-4/+4
| | | | Closes #7209
* test1218: adjusted for hyper modeDaniel Stenberg2021-06-101-1/+1
| | | | Closes #7209
* test1216: adjusted for hyper modeDaniel Stenberg2021-06-101-1/+1
| | | | Closes #7209
* test1230: adjust to work in hyper modeDaniel Stenberg2021-06-101-2/+2
| | | | Closes #7209
* c-hyper: abort CONNECT response reading early on non 2xx responsesDaniel Stenberg2021-06-101-9/+17
| | | | | | Fixes test 493 Closes #7209
* test434: add HTTP keywordDaniel Stenberg2021-06-101-1/+1
| | | | Closes #7209
* test599: adjusted to work in hyper modeDaniel Stenberg2021-06-101-1/+1
| | | | Closes #7209
* test566: adjust to work with hyper modeDaniel Stenberg2021-06-101-2/+2
| | | | Closes #7209
* test644: remove as duplicate of test 587Daniel Stenberg2021-06-082-61/+1
| | | | Closes #7208
* test500: adjust to work with hyper modeDaniel Stenberg2021-06-071-1/+1
|
* test433: adjust for hyper modeDaniel Stenberg2021-06-071-4/+4
| | | | Closes #7205
* test395: hyper cannot work around > 64 bit content-lengths like built-inDaniel Stenberg2021-06-071-0/+7
| | | | Closes #7205
* test394: hyper returns a different errorDaniel Stenberg2021-06-071-0/+4
| | | | Closes #7205
* test393: make Content-Length fit within 64 bit for hyperDaniel Stenberg2021-06-071-0/+4
| | | | Closes #7205
* test347: CRLFify to work in hyper modeDaniel Stenberg2021-06-071-9/+9
| | | | Closes #7205
* test339: CRLFify better to work in hyper modeDaniel Stenberg2021-06-071-9/+9
| | | | Closes #7205
* test328: avoid a header-looking body to make hyper mode workDaniel Stenberg2021-06-071-1/+1
| | | | | | The test still works the same, just modified two bytes in the content. Closes #7203
* metalink: removeDaniel Stenberg2021-06-0719-1642/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning: this will make existing curl command lines that use metalink to stop working. Reasons for removal: 1. We've found several security problems and issues involving the metalink support in curl. The issues are not detailed here. When working on those, it become apparent to the team that several of the problems are due to the system design, metalink library API and what the metalink RFC says. They are very hard to fix on the curl side only. 2. The metalink usage with curl was only very briefly documented and was not following the "normal" curl usage pattern in several ways, making it surprising and non-intuitive which could lead to further security issues. 3. The metalink library was last updated 6 years ago and wasn't so active the years before that either. An unmaintained library means there's a security problem waiting to happen. This is probably reason enough. 4. Metalink requires an XML parsing library, which is complex code (even the smaller alternatives) and to this day often gets security updates. 5. Metalink is not a widely used curl feature. In the 2020 curl user survey, only 1.4% of the responders said that they'd are using it. In 2021 that number was 1.2%. Searching the web also show very few traces of it being used, even with other tools. 6. The torrent format and associated technology clearly won for downloading large files from multiple sources in parallel. Cloes #7176
* tests/data/Makefile.inc: error: trailing backslash on last lineDaniel Stenberg2021-06-041-1/+1
| | | | Follow-up to d8dcb399b8009d
* url: bad CURLOPT_CONNECT_TO syntax now returns errorAlexis Vachette2021-06-042-5/+37
| | | | | | Added test 3020 to verify Closes #7183