History log of /curl/ (Results 6976 – 7000 of 33763)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0829909e09-Feb-2021 Daniel Stenberg

RELEASE-NOTES: synced

246399a813-Dec-2020 Jacob Hoffman-Andrews

vtls: initial implementation of rustls backend

This adds a new TLS backend, rustls. It uses the C-to-rustls bindings
from https://github.com/abetterinternet/crustls.

Rustls is a

vtls: initial implementation of rustls backend

This adds a new TLS backend, rustls. It uses the C-to-rustls bindings
from https://github.com/abetterinternet/crustls.

Rustls is at https://github.com/ctz/rustls/.

There is still a fair bit to be done, like sending CloseNotify on
connection shutdown, respecting CAPATH, and properly indicating features
like "supports TLS 1.3 ciphersuites." But it works well enough to make
requests and receive responses.

Blog post for context:
https://www.abetterinternet.org/post/memory-safe-curl/

Closes #6350

show more ...

3eebbfe824-Dec-2020 Simon Josefsson

sasl: support SCRAM-SHA-1 and SCRAM-SHA-256 via libgsasl

Closes #6372

cb2dc1ba01-Feb-2021 Jay Satiro

lib: use int type for more port variables

This is a follow-up to 764c6bd. Prior to that change port variables
were usually type long.

Closes https://github.com/curl/curl/pull/65

lib: use int type for more port variables

This is a follow-up to 764c6bd. Prior to that change port variables
were usually type long.

Closes https://github.com/curl/curl/pull/6553

show more ...

65ca229428-Jan-2021 Jay Satiro

tool_writeout: refactor write-out and write-out json

- Deduplicate the logic used by write-out and write-out json.

Rather than have separate writeLong, writeString, etc, logic for

tool_writeout: refactor write-out and write-out json

- Deduplicate the logic used by write-out and write-out json.

Rather than have separate writeLong, writeString, etc, logic for
each of write-out and write-out json instead have respective shared
functions that can output either format and a 'use_json' parameter to
indicate whether it is json that is output.

This will make it easier to maintain. Rather than have to go through
two sets of logic now we only have to go through one.

- Support write-out %{errormsg} and %{exitcode} in json.

- Clarify in the doc that %{exitcode} is the exit code of the transfer.

Prior to this change it just said "The numerical exitcode" which
implies it's the exit code of the tool, and it's not necessarily that.

Closes https://github.com/curl/curl/pull/6544

show more ...

b9f11ae825-Jan-2021 Jay Satiro

lib: drop USE_SOCKETPAIR in favor of CURL_DISABLE_SOCKETPAIR

.. since the former is undocumented and they both do the same thing.

Closes https://github.com/curl/curl/pull/6517

b48db90824-Jan-2021 Jay Satiro

curl_multibyte: fall back to local code page stat/access on Windows

If libcurl is built with Unicode support for Windows then it is assumed
the filename string is Unicode in UTF-8 encodi

curl_multibyte: fall back to local code page stat/access on Windows

If libcurl is built with Unicode support for Windows then it is assumed
the filename string is Unicode in UTF-8 encoding and it is converted to
UTF-16 to be passed to the wide character version of the respective
function (eg wstat). However the filename string may actually be in the
local encoding so, even if it successfully converted to UTF-16, if it
could not be stat/accessed then try again using the local code page
version of the function (eg wstat fails try stat).

We already do this with fopen (ie wfopen fails try fopen), so I think it
makes sense to extend it to stat and access functions.

Closes https://github.com/curl/curl/pull/6514

show more ...

1269c80a20-Jan-2021 Stephan Szabo

file: Support unicode urls on windows

Closes https://github.com/curl/curl/pull/6501

d4a3b87c19-Nov-2020 Vincent Torri

cmake: fix import library name for non-MS compiler on Windows

- Use _imp.lib suffix only for Microsoft's compiler (MSVC).

Prior to this change library suffix _imp.lib was used for t

cmake: fix import library name for non-MS compiler on Windows

- Use _imp.lib suffix only for Microsoft's compiler (MSVC).

Prior to this change library suffix _imp.lib was used for the import
library on Windows regardless of compiler.

With this change the other compilers should now use their default
suffix which should be .dll.a.

This change is motivated by the usage of pkg-config on MSYS2.
Indeed, when 'pkg-config --libs libcurl' is used, -lcurl is
passed to ld. The documentation of ld on Windows :

https://sourceware.org/binutils/docs/ld/WIN32.html

lists, in the 'direct linking to a dll' section, the pattern
of the searched import library, and libcurl_imp.lib is not there.

Closes https://github.com/curl/curl/pull/6225

show more ...

f1e5e49808-Feb-2021 Daniel Stenberg

urldata: move 'followlocation' to UrlState

As this is a state variable it does not belong in UserDefined which is
used to store values set by the user.

Closes #6582

13d8a56409-Feb-2021 Ikko Ashimine

http_proxy: fix typo in http_proxy.c

settting -> setting

Closes #6583

461e3ef620-Jan-2021 Fabian Keil

tests/server: Bump MAX_TAG_LEN to 200

This is useful for tests containing HTML inside of <data> sections.
For <img> tags it's not uncommon to be longer than the previous
limit of 79

tests/server: Bump MAX_TAG_LEN to 200

This is useful for tests containing HTML inside of <data> sections.
For <img> tags it's not uncommon to be longer than the previous
limit of 79 bytes.

An example of a previously problem-causing tag is:
<img src="http://config.privoxy.org/send-banner?type=auto" border="0" title="Killed-http://www.privoxy.org/images/privoxy.png-by-size" width="88" height="31">
which is needed for a Privoxy test for the banners-by-size filter.

Previously it caused server failures like:
12:29:05.786961 ====> Client connect
12:29:05.787116 accept_connection 3 returned 4
12:29:05.787194 accept_connection 3 returned 0
12:29:05.787285 Read 119 bytes
12:29:05.787345 Process 119 bytes request
12:29:05.787407 Got request: GET /banners-by-size/9 HTTP/1.1
12:29:05.787464 Requested test number 9 part 0
12:29:05.787686 getpart() failed with error: -2
12:29:05.787744 - request found to be complete (9)
12:29:05.787912 getpart() failed with error: -2
12:29:05.788048 Wrote request (119 bytes) input to log/server.input
12:29:05.788157 Send response test9 section <data>
12:29:05.788443 getpart() failed with error: -2
12:29:05.788498 instructed to close connection after server-reply
12:29:05.788550 ====> Client disconnect 0
12:29:05.871448 exit_signal_handler: 15
12:29:05.871714 signalled to die
12:29:05.872040 ========> IPv4 sws (port 21108 pid: 51758) exits with signal (15)

show more ...

e11e5b2d28-Feb-2020 Fabian Keil

tests/badsymbols.pl: when opening '$incdir' fails include it in the error message

e6f4ab3418-Jan-2021 Fabian Keil

runtests.1: document -o, -P, -L, and -E

Revision tags: curl-7_48_0, curl-7_47_1, curl-7_47_0, curl-7_46_0, curl-7_45_0, curl-7_44_0, curl-7_43_0, curl-7_42_1, curl-7_42_0, curl-7_41_0, curl-7_40_0, curl-7_39_0, curl-7_38_0, curl-7_37_1
203dc00716-Jun-2014 Fabian Keil

runtests.pl: add %TESTNUMBER variable to make copying tests more convenient

8ad31a8c09-Oct-2014 Fabian Keil

runtests.pl: add an -o option to change internal variables

runtests.pl has lots of internal variables one might want to
change in certain situations, but adding a dedicated option
fo

runtests.pl: add an -o option to change internal variables

runtests.pl has lots of internal variables one might want to
change in certain situations, but adding a dedicated option
for every single one of them isn't practical.

Usage:
./runtests.pl -o TESTDIR=$privoxy_curl_test_dir -o HOSTIP=10.0.0.1 ...

show more ...

Revision tags: curl-7_37_0, curl-7_36_0, curl-7_35_0, curl-7_34_0, curl-7_33_0, curl-7_32_0, curl-7_31_0, curl-7_30_0, curl-7_29_0, curl-7_28_1
e6d55f6415-Nov-2012 Fabian Keil

runtests.pl: cleanups

- show the summarized test result in the last line of the report
- do not use $_ after mapping it to a named variable
Doing that makes the code harder to foll

runtests.pl: cleanups

- show the summarized test result in the last line of the report
- do not use $_ after mapping it to a named variable
Doing that makes the code harder to follow.
- log the restraints sorted by the number of their occurrences
- fix language when logging restraints that only occured once
- let runhttpserver() use $TESTDIR instead of $srcdir
... so it works if a non-default $TESTDIR is being used.

show more ...

3f0bef2b17-Nov-2012 Fabian Keil

runtests.pl: add an -E option to specify an exclude file

It can contain additional restraints for test numbers,
keywords and tools.

The idea is to let third parties like the Pri

runtests.pl: add an -E option to specify an exclude file

It can contain additional restraints for test numbers,
keywords and tools.

The idea is to let third parties like the Privoxy project
distribute an exclude file with their tarballs that specifies
which curl tests are not expected to work when using Privoxy
as a proxy, without having to fork the whole curl test suite.

The syntax could be changed to be extendable and maybe
more closely reflect the "curl test" syntax. Currently
it's a bunch of lines like these:

test:$TESTNUMBER:Reason why this test with number $TESTNUMBER should be skipped
keyword:$KEYWORD:Reason why tests whose keywords contain the $KEYWORD should be skipped
tool:$TOOL:Reason why tests with tools that contain $TOOL should be skipped

To specify multiple $TESTNUMBERs, $KEYWORDs and $TOOLs
on a single line, split them with commas.

show more ...

b47ee58f05-Jun-2014 Fabian Keil

runtests.pl: add -L parameter to require additional perl libraries

This is useful to change the behaviour of the script without
having to modify the file itself, for example to use a cus

runtests.pl: add -L parameter to require additional perl libraries

This is useful to change the behaviour of the script without
having to modify the file itself, for example to use a custom
compareparts() function that ignores header differences that
are expected to occur when an external proxy is being used.

Such differences are proxy-specific and thus the modifications
should be maintained together with the proxy.

show more ...

Revision tags: curl-7_28_0, curl-7_27_0, curl-7_26_0, curl-7_25_0, curl-7_24_0, curl-7_23_1, curl-7_23_0, curl-7_22_0, curl-7_21_7, curl-7_21_6, curl-7_21_5, curl-7_21_4, curl-7_21_3, curl-7_21_2
4421359e29-Aug-2010 Fabian Keil

runtests.pl: add a -P option to specify an external proxy

... that should be used when executing the tests.

The assumption is that the proxy is an HTTP proxy.

This option s

runtests.pl: add a -P option to specify an external proxy

... that should be used when executing the tests.

The assumption is that the proxy is an HTTP proxy.

This option should be used together with -L to provide
a customized compareparts() version that knows which
proxy-specific header differences should be ignored.

This option doesn't work for all test types yet.

show more ...

1241986328-Feb-2020 Fabian Keil

tests: fixup several tests

missing CRs and modified %hostip

lib556/test556: use a real HTTP version to make test reuse more convenient

make sure the weekday in Date headers

tests: fixup several tests

missing CRs and modified %hostip

lib556/test556: use a real HTTP version to make test reuse more convenient

make sure the weekday in Date headers matches the date

test61: replace stray "^M" (5e 4d) at the end of a cookie with a '^M' (0d)

Gets the test working with external proxies like Privoxy again.

Closes #6463

show more ...


tests/data/test1
tests/data/test10
tests/data/test1004
tests/data/test1008
tests/data/test1011
tests/data/test1012
tests/data/test1021
tests/data/test1024
tests/data/test1025
tests/data/test1028
tests/data/test1031
tests/data/test1032
tests/data/test1033
tests/data/test1041
tests/data/test1053
tests/data/test1055
tests/data/test1059
tests/data/test1060
tests/data/test1061
tests/data/test1067
tests/data/test1068
tests/data/test1074
tests/data/test1076
tests/data/test1077
tests/data/test1078
tests/data/test1081
tests/data/test1087
tests/data/test1088
tests/data/test1089
tests/data/test1090
tests/data/test1092
tests/data/test1098
tests/data/test11
tests/data/test1101
tests/data/test1104
tests/data/test1105
tests/data/test1106
tests/data/test1117
tests/data/test1118
tests/data/test1126
tests/data/test1127
tests/data/test1128
tests/data/test1129
tests/data/test1130
tests/data/test1131
tests/data/test1133
tests/data/test1134
tests/data/test1136
tests/data/test1138
tests/data/test1147
tests/data/test1148
tests/data/test1150
tests/data/test1151
tests/data/test1154
tests/data/test1155
tests/data/test1157
tests/data/test1158
tests/data/test1160
tests/data/test1161
tests/data/test1166
tests/data/test1168
tests/data/test1176
tests/data/test1178
tests/data/test1197
tests/data/test1205
tests/data/test1210
tests/data/test1212
tests/data/test1213
tests/data/test1214
tests/data/test1223
tests/data/test1230
tests/data/test1239
tests/data/test1245
tests/data/test1248
tests/data/test1249
tests/data/test1250
tests/data/test1251
tests/data/test1252
tests/data/test1253
tests/data/test1254
tests/data/test1255
tests/data/test1256
tests/data/test1257
tests/data/test1258
tests/data/test1259
tests/data/test1265
tests/data/test1280
tests/data/test1283
tests/data/test1287
tests/data/test1288
tests/data/test1292
tests/data/test1293
tests/data/test1294
tests/data/test1295
tests/data/test1296
tests/data/test1298
tests/data/test1299
tests/data/test1311
tests/data/test1312
tests/data/test1313
tests/data/test1317
tests/data/test1318
tests/data/test1322
tests/data/test1324
tests/data/test1325
tests/data/test1328
tests/data/test1332
tests/data/test1333
tests/data/test1334
tests/data/test1335
tests/data/test1336
tests/data/test1337
tests/data/test1338
tests/data/test1339
tests/data/test1340
tests/data/test1341
tests/data/test1342
tests/data/test1343
tests/data/test1344
tests/data/test1345
tests/data/test1346
tests/data/test1347
tests/data/test1356
tests/data/test1357
tests/data/test1358
tests/data/test1359
tests/data/test1360
tests/data/test1361
tests/data/test1362
tests/data/test1363
tests/data/test1364
tests/data/test1365
tests/data/test1366
tests/data/test1367
tests/data/test1368
tests/data/test1369
tests/data/test1370
tests/data/test1371
tests/data/test1372
tests/data/test1373
tests/data/test1374
tests/data/test1375
tests/data/test1376
tests/data/test1377
tests/data/test1386
tests/data/test1387
tests/data/test1388
tests/data/test1389
tests/data/test1390
tests/data/test1391
tests/data/test1392
tests/data/test1393
tests/data/test1408
tests/data/test1411
tests/data/test1413
tests/data/test1415
tests/data/test1422
tests/data/test1423
tests/data/test1425
tests/data/test1426
tests/data/test1428
tests/data/test1429
tests/data/test1430
tests/data/test1431
tests/data/test1432
tests/data/test1433
tests/data/test1438
tests/data/test1439
tests/data/test1443
tests/data/test1448
tests/data/test1455
tests/data/test1456
tests/data/test1457
tests/data/test1458
tests/data/test1500
tests/data/test1502
tests/data/test1503
tests/data/test1504
tests/data/test1505
tests/data/test1506
tests/data/test1509
tests/data/test1510
tests/data/test1511
tests/data/test1512
tests/data/test1522
tests/data/test1523
tests/data/test1525
tests/data/test1526
tests/data/test1527
tests/data/test1528
tests/data/test1533
tests/data/test1551
tests/data/test1554
tests/data/test1556
tests/data/test1561
tests/data/test1562
tests/data/test1563
tests/data/test1566
tests/data/test1591
tests/data/test16
tests/data/test160
tests/data/test163
tests/data/test1630
tests/data/test1631
tests/data/test1632
tests/data/test165
tests/data/test166
tests/data/test1700
tests/data/test1701
tests/data/test1702
tests/data/test173
tests/data/test178
tests/data/test180
tests/data/test1800
tests/data/test1801
tests/data/test181
tests/data/test183
tests/data/test184
tests/data/test185
tests/data/test186
tests/data/test187
tests/data/test1904
tests/data/test1905
tests/data/test1906
tests/data/test1907
tests/data/test1908
tests/data/test1910
tests/data/test192
tests/data/test193
tests/data/test1933
tests/data/test197
tests/data/test198
tests/data/test199
tests/data/test2
tests/data/test2001
tests/data/test2002
tests/data/test2003
tests/data/test2034
tests/data/test2037
tests/data/test2041
tests/data/test2046
tests/data/test2047
tests/data/test2049
tests/data/test2050
tests/data/test2051
tests/data/test2052
tests/data/test2053
tests/data/test2054
tests/data/test2055
tests/data/test206
tests/data/test2070
tests/data/test2073
tests/data/test2074
tests/data/test208
tests/data/test209
tests/data/test2100
tests/data/test213
tests/data/test214
tests/data/test233
tests/data/test234
tests/data/test240
tests/data/test241
tests/data/test242
tests/data/test249
tests/data/test257
tests/data/test258
tests/data/test259
tests/data/test260
tests/data/test262
tests/data/test263
tests/data/test264
tests/data/test265
tests/data/test269
tests/data/test275
tests/data/test276
tests/data/test277
tests/data/test278
tests/data/test279
tests/data/test28
tests/data/test281
tests/data/test29
tests/data/test292
tests/data/test293
tests/data/test299
tests/data/test300
tests/data/test3000
tests/data/test3001
tests/data/test3008
tests/data/test3009
tests/data/test301
tests/data/test3010
tests/data/test3011
tests/data/test3012
tests/data/test3013
tests/data/test3014
tests/data/test303
tests/data/test304
tests/data/test309
tests/data/test31
tests/data/test310
tests/data/test317
tests/data/test318
tests/data/test32
tests/data/test325
tests/data/test327
tests/data/test328
tests/data/test329
tests/data/test330
tests/data/test331
tests/data/test338
tests/data/test342
tests/data/test343
tests/data/test344
tests/data/test345
tests/data/test346
tests/data/test35
tests/data/test355
tests/data/test356
tests/data/test357
tests/data/test358
tests/data/test359
tests/data/test39
tests/data/test393
tests/data/test394
tests/data/test395
tests/data/test4
tests/data/test40
tests/data/test42
tests/data/test43
tests/data/test44
tests/data/test45
tests/data/test46
tests/data/test47
tests/data/test48
tests/data/test49
tests/data/test490
tests/data/test491
tests/data/test492
tests/data/test493
tests/data/test5
tests/data/test50
tests/data/test500
tests/data/test503
tests/data/test506
tests/data/test508
tests/data/test51
tests/data/test510
tests/data/test512
tests/data/test514
tests/data/test515
tests/data/test516
tests/data/test518
tests/data/test519
tests/data/test52
tests/data/test522
tests/data/test523
tests/data/test528
tests/data/test535
tests/data/test537
tests/data/test544
tests/data/test545
tests/data/test549
tests/data/test55
tests/data/test550
tests/data/test554
tests/data/test556
tests/data/test559
tests/data/test560
tests/data/test561
tests/data/test563
tests/data/test566
tests/data/test573
tests/data/test578
tests/data/test58
tests/data/test580
tests/data/test581
tests/data/test584
tests/data/test585
tests/data/test589
tests/data/test59
tests/data/test598
tests/data/test599
tests/data/test6
tests/data/test60
tests/data/test61
tests/data/test62
tests/data/test63
tests/data/test643
tests/data/test645
tests/data/test650
tests/data/test651
tests/data/test653
tests/data/test654
tests/data/test655
tests/data/test658
tests/data/test659
tests/data/test662
tests/data/test663
tests/data/test666
tests/data/test667
tests/data/test668
tests/data/test669
tests/data/test670
tests/data/test671
tests/data/test672
tests/data/test673
tests/data/test674
tests/data/test7
tests/data/test700
tests/data/test701
tests/data/test708
tests/data/test709
tests/data/test71
tests/data/test710
tests/data/test717
tests/data/test73
tests/data/test74
tests/data/test77
tests/data/test79
tests/data/test8
tests/data/test80
tests/data/test83
tests/data/test84
tests/data/test85
tests/data/test86
tests/data/test9
tests/data/test95
tests/data/test970
tests/data/test99
tests/libtest/lib556.c
0c51036e08-Feb-2021 Daniel Stenberg

ftp: never set data->set.ftp_append outside setopt

Since the set value then risks getting used like that when the easy
handle is reused by the application.

Also: renamed the str

ftp: never set data->set.ftp_append outside setopt

Since the set value then risks getting used like that when the easy
handle is reused by the application.

Also: renamed the struct field from 'ftp_append' to 'remote_append'
since it is also used for SSH protocols.

Closes #6579

show more ...

d836d36208-Feb-2021 Daniel Stenberg

urldata: remove the 'rtspversion' field

from struct connectdata and the corresponding code in http.c that set
it. It was never used for anything!

Closes #6581

ff9ec4e408-Feb-2021 Daniel Stenberg

CURLOPT_QUOTE.3: clarify that libcurl doesn't parse what's sent

... so passed in commands may confuse libcurl's knowledge of state.

Reported-by: Bodo Bergmann
Fixes #6577
Cl

CURLOPT_QUOTE.3: clarify that libcurl doesn't parse what's sent

... so passed in commands may confuse libcurl's knowledge of state.

Reported-by: Bodo Bergmann
Fixes #6577
Closes #6580

show more ...

c30bf22f03-Feb-2021 Jacob Hoffman-Andrews

vtls: factor out Curl_ssl_getsock to field of Curl_ssl

Closes #6558

1...<<271272273274275276277278279280>>...1351