- 03 11月, 2022 1 次提交
-
-
由 Daniel Stenberg 提交于
Reproduced #9507, verifies the fix Signed-off-by: Nzhouhaifeng <kutcher.zhou@huawei.com>
-
- 24 6月, 2021 1 次提交
-
-
由 Daniel Stenberg 提交于
Adjusted ftpserver.pl to add support for the IMAP IDLE command Adjusted test 660 to sync with the fix
-
- 08 6月, 2021 1 次提交
-
-
由 Daniel Stenberg 提交于
Closes #7208
-
- 06 5月, 2021 1 次提交
-
-
由 Jay Satiro 提交于
Follow-up to 77fc3859 from yesterday. Bug: https://github.com/curl/curl/pull/6662#issuecomment-832966557 Reported-by: Marc Hörsken
-
- 05 5月, 2021 1 次提交
-
-
由 Gilles Vollant 提交于
- New options CURLOPT_CAINFO_BLOB and CURLOPT_PROXY_CAINFO_BLOB to specify in-memory PEM certificates for OpenSSL, Schannel (Windows) and Secure Transport (Apple) SSL backends. Prior to this change PEM certificates could only be imported from a file and not from memory. Co-authored-by: moparisthebest@users.noreply.github.com Ref: https://github.com/curl/curl/pull/4679 Ref: https://github.com/curl/curl/pull/5677 Ref: https://github.com/curl/curl/pull/6109 Closes https://github.com/curl/curl/pull/6662
-
- 15 4月, 2021 1 次提交
-
-
由 Daniel Stenberg 提交于
Add test 676 to verify that setting CURLOPT_COOKIEFILE to NULL again clears the cookiejar from memory. Reported-by: Stefan Karpinski Fixes #6889 Closes #6891
-
- 11 3月, 2021 1 次提交
-
-
由 mamingshuai 提交于
-
- 09 2月, 2021 1 次提交
-
-
由 Daniel Stenberg 提交于
... and make sure the code never updates 'set.prefer_ascii' as it breaks handle reuse which should use the setting as the user specified it. Added test 1569 to verify: it first makes an FTP transfer with ';type=A' and then another without type on the same handle and the second should then use binary. Previously, curl failed this. Closes #6578
-
- 31 1月, 2021 1 次提交
-
-
由 Dmitry Wagin 提交于
- Add support services without region and service prefixes in the URL endpoint (ex. Min.IO, GCP, Yandex Cloud, Mail.Ru Cloud Solutions, etc) by providing region and service parameters via aws-sigv4 option. - Add [:region[:service]] suffix to aws-sigv4 option; - Fix memory allocation errors. - Refactor memory management. - Use Curl_http_method instead() STRING_CUSTOMREQUEST. - Refactor canonical headers generating. - Remove repeated sha256_to_hex() usage. - Add some docs fixes. - Add some codestyle fixes. - Add overloaded strndup() for debug - curl_dbg_strndup(). - Update tests. Closes #6524
-
- 16 1月, 2021 1 次提交
-
-
由 Daniel Stenberg 提交于
... and as a practical side-effect, make sure that the Curl_easyopts_check() function is asserted in debug builds, which we want to detect mismatches between the options list in easyoptions.c and the options in curl.h Found-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/08e8455dddc5e48e58a12ade3815c01ae3da3b64#commitcomment-45991815 Closes #6461
-
- 15 1月, 2021 1 次提交
-
-
由 Daniel Stenberg 提交于
... so that a function can first use MIMEPOST and then set it to NULL to reset it back to a blank POST. Added test 584 to verify the fix. Reported-by: Christoph M. Becker Fixes #6455 Closes #6456
-
- 03 1月, 2021 1 次提交
-
-
由 Daniel Stenberg 提交于
When doing HTTP authentication and a port number set with CURLOPT_PORT, the code would previously have the URL's port number override as if it had been a redirect to an absolute URL. Added test 1568 to verify. Reported-by: UrsusArctos on github Fixes #6397 Closes #6400
-
- 21 12月, 2020 1 次提交
-
-
由 Matthias Gatto 提交于
Signed-off-by: NMatthias Gatto <matthias.gatto@outscale.com>
-
- 18 12月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
Detected by OSS-Fuzz Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28735 Added test 1916 and 1917 to verify. Closes #6338
-
- 17 12月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
I used this to track down some issues and I figured I could just as well keep this extra logging in here for future needs. Closes #6331
-
- 05 11月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
Closes #6172
-
- 03 11月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
- read/write callback options - man pages for the 4 new setopts - test 1915 verifies the callbacks Closes #5896
-
- 14 9月, 2020 2 次提交
-
-
由 Daniel Stenberg 提交于
This is primarily interesting for cases where CURLOPT_NOBODY is set as previously curl would not return an error for this case. MDTM getting 550 now also returns this error (it returned CURLE_FTP_COULDNT_RETR_FILE before) in order to unify return codes for missing files across protocols and specific FTP commands. libcurl already returns error on a 550 as a MDTM response (when CURLOPT_FILETIME is set). If CURLOPT_NOBODY is not set, an error would happen subsequently anyway since the RETR command would fail. Add test 1913 and 1914 to verify. Updated several tests accordingly due to the updated SIZE behavior. Reported-by: Tomas Berger Fixes #5953 Closes #5957
-
由 Daniel Stenberg 提交于
... fixes an integer overflow at the same time. Reported-by: ihsinme on github Assisted-by: Jay Satiro Closes #5946
-
- 09 9月, 2020 1 次提交
-
-
由 wenjun 提交于
-
- 07 9月, 2020 2 次提交
-
-
由 Daniel Stenberg 提交于
Caused automake errors. Follow-up to 8ca54a03
-
由 Daniel Stenberg 提交于
We already remove the test files, now remove the libtest codes as well. Follow-up to e50a877d
-
- 06 9月, 2020 2 次提交
-
-
由 Daniel Stenberg 提交于
A shared connection cache is not thread-safe is a known issue. Stop testing this until we believe this issue is addressed. Reduces occasional test failures we don't care about. The test code in lib1541.c is left in git to allow us to restore it when we get to fix this. Closes #5922
-
由 Daniel Stenberg 提交于
Remove the tests 530, 584, 1900, 1901, 1902, 1903 and 2033. They were previously disabled. The Pipelining code was removed from curl in commit 2f44e94e, April 2019. Closes #5921
-
- 29 8月, 2020 1 次提交
-
-
由 Jeroen Ooms 提交于
Validates that gcc-typecheck macros match the new option type API. Closes #5873
-
- 27 8月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
const struct curl_easyoption *curl_easy_option_by_name(const char *name); const struct curl_easyoption *curl_easy_option_by_id (CURLoption id); const struct curl_easyoption * curl_easy_option_next(const struct curl_easyoption *prev); The purpose is to provide detailed enough information to allow for example libcurl bindings to get option information at run-time about what easy options that exist and what arguments they expect. Assisted-by: Jeroen Ooms Closes #5365
-
- 30 7月, 2020 1 次提交
-
-
由 Jay Satiro 提交于
Prior to this change if the user set a URL handle (CURLOPT_CURLU) it was incorrectly used for the location follow, resulting in infinite requests to the original location. Reported-by: sspiri@users.noreply.github.com Fixes https://github.com/curl/curl/issues/5709 Closes https://github.com/curl/curl/pull/5713
-
- 27 7月, 2020 1 次提交
-
-
由 Nicolas Sterchele 提交于
- Avoid re-using retry_after value from preceding request - Add libtest 3010 to verify Reported-by: joey-l-us on github Fixes #5661 Closes #5672
-
- 12 7月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
Added test case 674 to reproduce and verify the bug report. Fixes #5665 Reported-by: NobodyXu on github Closes #5673
-
- 26 6月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
Attempt to reproduce #5593. Test case 1514 is very similar but uses HTTP/1.1 and thus switches to chunked. Closes #5595
-
- 25 6月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
test 1296 is a simply command line test test 1910 is a libcurl test including a redirect
-
- 30 5月, 2020 1 次提交
-
-
由 Marc Hoersken 提交于
Since curl_setup.h now makes use of curlx_win32_fopen for Win32 builds with USE_WIN32_LARGE_FILES or USE_WIN32_SMALL_FILES defined, we need to include the relevant files for tests using fopen, because the libtest sources are also including curl_setup.h Reviewed-by: Marcel Raad Reviewed-by: Daniel Stenberg Follow up to #3784 (ffdddb45) Closes #5475
-
- 04 5月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
A common set of functions instead of many separate implementations for creating buffers that can grow when appending data to them. Existing functionality has been ported over. In my early basic testing, the total number of allocations seem at roughly the same amount as before, possibly a few less. See docs/DYNBUF.md for a description of the API. Closes #5300
-
- 24 3月, 2020 1 次提交
-
-
由 Daniel Stenberg 提交于
Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
-
- 08 3月, 2020 3 次提交
-
-
由 Patrick Monnerat 提交于
New test 666 checks this is effective. As upload buffer size is significant in this kind of tests, shorten it in similar test 652. Fixes #4860 Closes #4833 Reported-by: RuurdBeerstra on github
-
由 Patrick Monnerat 提交于
Input buffer filling may delay the data sending if data reads are slow. To overcome this problem, file and callback data reads do not accumulate in buffer anymore. All other data (memory data and mime framing) are considered as fast and still concatenated in buffer. As this may highly impact performance in terms of data overhead, an early end of part data check is added to spare a read call. When encoding a part's data, an encoder may require more bytes than made available by a single read. In this case, the above rule does not apply and reads are performed until the encoder is able to deliver some data. Tests 643, 644, 645, 650 and 654 have been adapted to the output data changes, with test data size reduced to avoid the boredom of long lists of 1-byte chunks in verification data. New test 667 checks mimepost using single-byte read callback with encoder. New test 668 checks the end of part data early detection. Fixes #4826 Reported-by: MrdUkk on github
-
由 Patrick Monnerat 提交于
In case a read callback returns a status (pause, abort, eof, error) instead of a byte count, drain the bytes read so far but remember this status for further processing. Takes care of not losing data when pausing, and properly resume a paused mime structure when requested. New tests 670-673 check unpausing cases, with easy or multi interface and mime or form api. Fixes #4813 Reported-by: MrdUkk on github
-
- 02 3月, 2020 3 次提交
-
-
由 Daniel Stenberg 提交于
This reverts commit 87869e38. Fixes #5014 Closes #5015 Reopens #4833
-
由 Daniel Stenberg 提交于
This reverts commit ed0f357f.
-
由 Daniel Stenberg 提交于
This reverts commit b2caaa06.
-