Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test365: verify response with chunked AND Content-Length headers | Daniel Stenberg | 2021-08-31 | 2 | -1/+66 |
| | |||||
* | http: ignore content-length if any transfer-encoding is used | Daniel Stenberg | 2021-08-31 | 7 | -57/+49 |
| | | | | | Fixes #7643 Closes #7649 | ||||
* | http: disallow >3-digit response codes | Daniel Stenberg | 2021-08-26 | 3 | -27/+28 |
| | | | | | | | | | | Make the built-in HTTP parser behave similar to hyper and reject any HTTP response using more than 3 digits for the response code. Updated test 1432 accordingly. Enabled test 1432 in the hyper builds. Closes #7641 | ||||
* | test1280: CRLFify the response to please hyper | Daniel Stenberg | 2021-08-26 | 1 | -5/+5 |
| | | | | Closes #7639 | ||||
* | tests: enable test 1129 for hyper builds | Daniel Stenberg | 2021-08-26 | 1 | -1/+0 |
| | | | | Closes #7638 | ||||
* | c-hyper: handle HTTP/1.1 => HTTP/1.0 downgrade on reused connection | Daniel Stenberg | 2021-08-23 | 1 | -1/+0 |
| | | | | | | Enable test 1074 Closes #7617 | ||||
* | c-hyper: deal with Expect: 100-continue combined with POSTFIELDS | Daniel Stenberg | 2021-08-23 | 1 | -2/+0 |
| | | | | | | Enable test 1130 and 1131 Closes #7616 | ||||
* | DISABLED: enable 11 more tests for hyper builds | Daniel Stenberg | 2021-08-23 | 1 | -11/+0 |
| | | | | Closes #7612 | ||||
* | setopt: enable CURLOPT_IGNORE_CONTENT_LENGTH for hyper | Daniel Stenberg | 2021-08-23 | 1 | -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 hyper | Daniel Stenberg | 2021-08-23 | 2 | -3/+2 |
| | | | | Closes #7613 | ||||
* | man pages: remove trailing whitespaces | Daniel Stenberg | 2021-08-21 | 1 | -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 hyper | Daniel Stenberg | 2021-08-20 | 1 | -1/+0 |
| | | | | | | Enable test 287 Closes #7598 | ||||
* | c-hyper: initial support for "dumping" 1xx HTTP responses | Daniel Stenberg | 2021-08-20 | 1 | -4/+0 |
| | | | | | | | | With the use hyper_request_on_informational() Enable test 155 and 158 Closes #7597 | ||||
* | c-hyper: initial step for 100-continue support | Daniel Stenberg | 2021-08-13 | 1 | -1/+0 |
| | | | | | | Enabled test 154 Closes #7568 | ||||
* | http: consider cookies over localhost to be secure | Daniel Stenberg | 2021-08-10 | 3 | -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 2037 | Bernhard M. Wiedemann | 2021-07-30 | 2 | -5/+5 |
| | | | | | | after 2038 something in test1915 fails on 32-bit OSes Closes #7512 | ||||
* | cleanup: spell DoH with a lowercase o | Josh Soref | 2021-07-16 | 1 | -3/+3 |
| | | | | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Closes #7413 | ||||
* | test1147: hyper doesn't allow "crazy" request headers like built-in | Daniel Stenberg | 2021-07-05 | 2 | -1/+4 |
| | | | | | | ... so strip that from the test. Closes #7349 | ||||
* | c-hyper: bail on too long response headers | Daniel Stenberg | 2021-07-05 | 1 | -2/+0 |
| | | | | | | To match with built-in behaviors. Makes test 1154 work. Closes #7350 | ||||
* | test1151: added missing CRLF to work with hyper | Daniel Stenberg | 2021-07-05 | 1 | -0/+1 |
| | | | | Closes #7350 | ||||
* | test1116: hyper doesn't pass through "surprise-trailers" | Daniel Stenberg | 2021-07-05 | 2 | -1/+6 |
| | | | | Closes #7344 | ||||
* | test1519: adjusted to work with hyper | Daniel Stenberg | 2021-07-01 | 2 | -6/+5 |
| | | | | Closes #7333 | ||||
* | test1518: adjusted to work with hyper | Daniel Stenberg | 2021-07-01 | 2 | -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 correct | Daniel Stenberg | 2021-07-01 | 2 | -1/+1 |
| | | | | | | | Makes hyper accept it fine instead returning HYPERE_UNEXPECTED_EOF on us. Closes #7334 | ||||
* | test677: IMAP CONNECT_ONLY, custom command and then exit | Daniel Stenberg | 2021-06-24 | 3 | -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 callbacks | Daniel Stenberg | 2021-06-17 | 2 | -1/+2 |
| | | | | | | Makes test 513 work with hyper Closes #7266 | ||||
* | curl_url_set: reject spaces in URLs w/o CURLU_ALLOW_SPACE | Daniel Stenberg | 2021-06-15 | 2 | -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' definitions | Daniel Stenberg | 2021-06-13 | 2 | -1/+61 |
| | | | | | | | | Add test 494 to verify Reported-by: Harry Sintonen Fixes #7238 Closes #7244 | ||||
* | mqtt: add support for username and password | Gealber Morales | 2021-06-12 | 7 | -0/+343 |
| | | | | | | | Minor-edits-by: Daniel Stenberg Added test 2200 to 2205 Closes #7243 | ||||
* | tests/data/DISABLED: add tests not working with hyper | Daniel Stenberg | 2021-06-10 | 1 | -0/+116 |
| | | | | | | The goal is to remove them all from here over time. Closes #7209 | ||||
* | test3010: work with hyper mode | Daniel Stenberg | 2021-06-10 | 1 | -2/+2 |
| | | | | Closes #7209 | ||||
* | test1594/1595/1596: fix to work in hyper mode | Daniel Stenberg | 2021-06-10 | 3 | -3/+3 |
| | | | | Closes #7209 | ||||
* | test1438/1457: add HTTP keyword to make hyper mode work | Daniel Stenberg | 2021-06-10 | 2 | -0/+2 |
| | | | | Closes #7209 | ||||
* | test1340/1341: adjusted for hyper mode | Daniel Stenberg | 2021-06-10 | 2 | -4/+4 |
| | | | | Closes #7209 | ||||
* | test1218: adjusted for hyper mode | Daniel Stenberg | 2021-06-10 | 1 | -1/+1 |
| | | | | Closes #7209 | ||||
* | test1216: adjusted for hyper mode | Daniel Stenberg | 2021-06-10 | 1 | -1/+1 |
| | | | | Closes #7209 | ||||
* | test1230: adjust to work in hyper mode | Daniel Stenberg | 2021-06-10 | 1 | -2/+2 |
| | | | | Closes #7209 | ||||
* | c-hyper: abort CONNECT response reading early on non 2xx responses | Daniel Stenberg | 2021-06-10 | 1 | -9/+17 |
| | | | | | | Fixes test 493 Closes #7209 | ||||
* | test434: add HTTP keyword | Daniel Stenberg | 2021-06-10 | 1 | -1/+1 |
| | | | | Closes #7209 | ||||
* | test599: adjusted to work in hyper mode | Daniel Stenberg | 2021-06-10 | 1 | -1/+1 |
| | | | | Closes #7209 | ||||
* | test566: adjust to work with hyper mode | Daniel Stenberg | 2021-06-10 | 1 | -2/+2 |
| | | | | Closes #7209 | ||||
* | test644: remove as duplicate of test 587 | Daniel Stenberg | 2021-06-08 | 2 | -61/+1 |
| | | | | Closes #7208 | ||||
* | test500: adjust to work with hyper mode | Daniel Stenberg | 2021-06-07 | 1 | -1/+1 |
| | |||||
* | test433: adjust for hyper mode | Daniel Stenberg | 2021-06-07 | 1 | -4/+4 |
| | | | | Closes #7205 | ||||
* | test395: hyper cannot work around > 64 bit content-lengths like built-in | Daniel Stenberg | 2021-06-07 | 1 | -0/+7 |
| | | | | Closes #7205 | ||||
* | test394: hyper returns a different error | Daniel Stenberg | 2021-06-07 | 1 | -0/+4 |
| | | | | Closes #7205 | ||||
* | test393: make Content-Length fit within 64 bit for hyper | Daniel Stenberg | 2021-06-07 | 1 | -0/+4 |
| | | | | Closes #7205 | ||||
* | test347: CRLFify to work in hyper mode | Daniel Stenberg | 2021-06-07 | 1 | -9/+9 |
| | | | | Closes #7205 | ||||
* | test339: CRLFify better to work in hyper mode | Daniel Stenberg | 2021-06-07 | 1 | -9/+9 |
| | | | | Closes #7205 | ||||
* | test328: avoid a header-looking body to make hyper mode work | Daniel Stenberg | 2021-06-07 | 1 | -1/+1 |
| | | | | | | The test still works the same, just modified two bytes in the content. Closes #7203 |