Revision tags: curl-7_70_0 |
|
#
d009bc2e |
| 17-Apr-2020 |
Daniel Stenberg |
tests: introduce preprocessed test cases The runtests script now always performs variable replacement on the entire test source file before the test gets executed, and saves the upda
tests: introduce preprocessed test cases The runtests script now always performs variable replacement on the entire test source file before the test gets executed, and saves the updated version in a temporary file (log/test[num]) so that all test case readers/servers can use that version (if present) and thus enjoy the powers of test case variable substitution. This is necessary to allow complete port number freedom. Test 309 is updated to work with a non-fixed port number thanks to this.
show more ...
|
#
80d65154 |
| 16-Apr-2020 |
Daniel Stenberg |
tests: run the sws server on "any port" Makes the test servers for HTTP and Gopher pop up on a currently unused port and runtests adapts to that! Closes #5247
|
#
9869f6dc |
| 11-Apr-2020 |
Marc Hoersken |
tests/server: move all signal handling routines to util.[ch] Avoid code duplication to prepare for portability enhancements.
|
Revision tags: curl-7_69_1, curl-7_69_0 |
|
#
77336671 |
| 28-Jan-2020 |
Patrick Monnerat |
silly web server: silent a compilation warning Recent gcc warns when byte count of strncpy() equals the destination buffer size. Since the destination buffer is previously cleared and
silly web server: silent a compilation warning Recent gcc warns when byte count of strncpy() equals the destination buffer size. Since the destination buffer is previously cleared and the source string is always shorter, reducing the byte count by one silents the warning without affecting the result. Closes #5059
show more ...
|
#
6375b205 |
| 26-Feb-2020 |
Daniel Stenberg |
http: added 417 response treatment When doing a request with a body + Expect: 100-continue and the server responds with a 417, the same request will be retried immediately without th
http: added 417 response treatment When doing a request with a body + Expect: 100-continue and the server responds with a 417, the same request will be retried immediately without the Expect: header. Added test 357 to verify. Also added a control instruction to tell the sws test server to not read the request body if Expect: is present, which the new test 357 uses. Reported-by: bramus on github Fixes #4949 Closes #4964
show more ...
|
#
4b6fd29f |
| 02-Feb-2020 |
Pedro Monreal |
cleanup: fix typos and wording in docs and comments Closes #4869 Reviewed-by: Emil Engler and Daniel Gustafsson
|
Revision tags: curl-7_68_0 |
|
#
be83fe11 |
| 02-Jan-2020 |
Marc Aldorasi |
tests: Fix bounce requests with truncated writes Prior to this change the swsbounce check in service_connection could fail because prevtestno and prevpartno were not set, which would cau
tests: Fix bounce requests with truncated writes Prior to this change the swsbounce check in service_connection could fail because prevtestno and prevpartno were not set, which would cause the wrong response data to be sent to some tests and cause them to fail. Ref: https://github.com/curl/curl/pull/4717#issuecomment-570240785
show more ...
|
#
25b69c48 |
| 19-Dec-2019 |
Daniel Stenberg |
sws: search for "Testno:" header uncondtionally if no testno Even if the initial request line wasn't found. With the fix to 1455, the test number is now detected correctly. (Pro
sws: search for "Testno:" header uncondtionally if no testno Even if the initial request line wasn't found. With the fix to 1455, the test number is now detected correctly. (Problem found when running tests in random order.) Closes #4744
show more ...
|
Revision tags: curl-7_67_0, curl-7_66_0, curl-7_65_3, curl-7_65_2, curl-7_65_1 |
|
#
04ac54e1 |
| 25-May-2019 |
Marcel Raad |
sws: remove unused variables Unused since commit 2f44e94. Closes https://github.com/curl/curl/pull/3975
|
Revision tags: curl-7_65_0 |
|
#
2f44e94e |
| 05-Apr-2019 |
Daniel Stenberg |
pipelining: removed As previously planned and documented in DEPRECATE.md, all pipelining code is removed. Closes #3651
|
Revision tags: curl-7_64_1, curl-7_64_0, curl-7_63_0 |
|
#
f464535b |
| 06-Dec-2018 |
Ayoub Boudhar |
http: Implement trailing headers for chunked transfers This adds the CURLOPT_TRAILERDATA and CURLOPT_TRAILERFUNCTION options that allow a callback based approach to sending trailing head
http: Implement trailing headers for chunked transfers This adds the CURLOPT_TRAILERDATA and CURLOPT_TRAILERFUNCTION options that allow a callback based approach to sending trailing headers with chunked transfers. The test server (sws) was updated to take into account the detection of the end of transfer in the case of trailing headers presence. Test 1591 checks that trailing headers can be sent using libcurl. Closes #3350
show more ...
|
#
dcd6f810 |
| 22-Nov-2018 |
Daniel Stenberg |
snprintf: renamed and we now only use msnprintf() The function does not return the same value as snprintf() normally does, so readers may be mislead into thinking the code works differen
snprintf: renamed and we now only use msnprintf() The function does not return the same value as snprintf() normally does, so readers may be mislead into thinking the code works differently than it actually does. A different function name makes this easier to detect. Reported-by: Tomas Hoger Assisted-by: Daniel Gustafsson Fixes #3296 Closes #3297
show more ...
|
Revision tags: curl-7_62_0 |
|
#
b801b453 |
| 23-Sep-2018 |
Viktor Szakats |
whitespace fixes - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few inde
whitespace fixes - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
show more ...
|
Revision tags: curl-7_61_1 |
|
#
8440616f |
| 13-Aug-2018 |
Daniel Stenberg |
http: fix for tiny "HTTP/0.9" response Deal with tiny "HTTP/0.9" (header-less) responses by checking the status-line early, even before a full "HTTP/" is received to allow detecting
http: fix for tiny "HTTP/0.9" response Deal with tiny "HTTP/0.9" (header-less) responses by checking the status-line early, even before a full "HTTP/" is received to allow detecting 0.9 properly. Test 1266 and 1267 added to verify. Fixes #2420 Closes #2872
show more ...
|
#
3db62836 |
| 29-Jul-2018 |
Michael Kaufmann |
sws: handle EINTR when calling select() Closes https://github.com/curl/curl/pull/2808
|
Revision tags: curl-7_61_0 |
|
#
c45360d4 |
| 02-Jun-2018 |
Marian Klymov |
cppcheck: fix warnings - Get rid of variable that was generating false positive warning (unitialized) - Fix issues in tests - Reduce scope of several variables all over
cppcheck: fix warnings - Get rid of variable that was generating false positive warning (unitialized) - Fix issues in tests - Reduce scope of several variables all over etc Closes #2631
show more ...
|
#
4bd91bc4 |
| 03-Jun-2018 |
Viktor Szakats |
spelling fixes Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
|
Revision tags: curl-7_60_0, curl-7_59_0 |
|
#
7e35eb77 |
| 23-Feb-2018 |
Viktor Szakats |
spelling fixes Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
|
Revision tags: curl-7_58_0 |
|
#
24dcd746 |
| 05-Dec-2017 |
Randall S. Becker |
tests: added netinet/in6.h includes in test servers
|
Revision tags: curl-7_57_0, curl-7_56_1, curl-7_56_0, curl-7_55_1, curl-7_55_0 |
|
#
56d949d3 |
| 18-Jul-2017 |
Isaac Boukris |
tests: add initial gssapi test using stub implementation The stub implementation is pre-loaded using LD_PRELOAD and emulates common gssapi uses (only builds if curl is initially buil
tests: add initial gssapi test using stub implementation The stub implementation is pre-loaded using LD_PRELOAD and emulates common gssapi uses (only builds if curl is initially built with gssapi support). The initial tests are currently disabled for debug builds as LD_PRELOAD is not used then. Ref: https://github.com/curl/curl/pull/1687
show more ...
|
#
e5743f08 |
| 09-Sep-2017 |
Daniel Stenberg |
code style: use spaces around pluses
|
#
6b84438d |
| 09-Sep-2017 |
Daniel Stenberg |
code style: use spaces around equals signs
|
#
b778ae4c |
| 19-Jun-2017 |
Daniel Stenberg |
http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASH ... to enable sending "OPTIONS *" which wasn't possible previously. This option currently only works for HTTP. Add
http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASH ... to enable sending "OPTIONS *" which wasn't possible previously. This option currently only works for HTTP. Added test cases 1298 + 1299 to verify Fixes #1280 Closes #1462
show more ...
|
#
12ccaed2 |
| 16-Jun-2017 |
Daniel Stenberg |
http-proxy: deal with EAGAIN ... the previous code would reset the header length wrongly (since 5113ad0424). This makes test 1060 reliable again. Also: make sws send even smalle
http-proxy: deal with EAGAIN ... the previous code would reset the header length wrongly (since 5113ad0424). This makes test 1060 reliable again. Also: make sws send even smaller chunks of data to increase the likeliness of this happening.
show more ...
|
Revision tags: curl-7_54_1 |
|
#
4032c5da |
| 04-May-2017 |
Marcel Raad |
tests/server: make string literals const assign string literals to const char * instead of char * in order to avoid a lot of these warnings: cast from 'const char *' to 'char *' drop
tests/server: make string literals const assign string literals to const char * instead of char * in order to avoid a lot of these warnings: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
show more ...
|