Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6516 commits
Select commit Hold shift + click to select a range
510d981
configure: fix pkg-config detecting wolfssl
bagder Aug 24, 2020
5620d2c
curl: add --output-dir
bagder Aug 24, 2020
3a9042e
docs: --output-dir is added in 7.73.0, nothing else
bagder Aug 24, 2020
0f7c332
select.h: make socket validation macros test for INVALID_SOCKET
mback2k Aug 3, 2020
e21bd22
select: fix poll-based check not detecting connect failure
mback2k Jul 21, 2020
17f58c8
select: reduce duplication of Curl_poll in Curl_socket_check
mback2k Apr 19, 2020
d2a7d7c
multi: implement wait using winsock events
rcombs May 13, 2020
3334ee6
multi: expand pre-check for socket readiness
mback2k Jul 26, 2020
259a815
lib1560: verify "redirect" to double-slash leading URL
bagder Aug 25, 2020
be753ad
winbuild: convert the instruction text to README.md
bagder Aug 26, 2020
f31b2e7
winbuild/README.md: make <options> visible
bagder Aug 26, 2020
7691f68
ngtcp2: adapt to the new pkt_info arguments
bagder Aug 26, 2020
a6a1766
doh: add error message for DOH_DNS_NAME_TOO_LONG
cvengler Aug 26, 2020
99119fc
git: ignore libtests in 3XXX area
cvengler Aug 26, 2020
01e2679
schannel: fix memory leak when using get_cert_location
fullincome Aug 26, 2020
ce88e21
curl_get_line: build only if cookies or alt-svc are enabled
bagder Aug 14, 2020
d854572
socketpair: allow CURL_DISABLE_SOCKETPAIR
bagder Aug 14, 2020
fbe07c6
openssl: Fix wincrypt symbols conflict with BoringSSL
jay Aug 26, 2020
7731c35
RELEASE-NOTES: synced
bagder Aug 27, 2020
9ee5701
HTTP/3: update to OpenSSL_1_1_1g-quic-draft-29
ericcurtin Aug 27, 2020
6ebe63f
options: API for meta-data about easy options
bagder Aug 26, 2020
ad691b1
configure: added --disable-get-easy-options
bagder Aug 26, 2020
4608fa4
scripts: improve the "get latest curl release tag" logic
bagder Aug 27, 2020
0da301a
docs/libcurl: update "Added in" version for curl_easy_option*
bagder Aug 27, 2020
616c30a
lib: make Curl_gethostname accept a const pointer
cvengler Aug 26, 2020
8586853
buildconf: invoke 'autoreconf -fi' instead
bagder Aug 25, 2020
3165ea0
curl.1: fix typo invokved -> invoked
ghedo Aug 24, 2020
0ac310a
docs: non-existing macros in man pages
ghedo Aug 24, 2020
c77f6fd
docs: SSLCERTS: fix English syntax
dankenigsberg Aug 28, 2020
68a5132
TLS: fix SRP detection by using the proper #ifdefs
bagder Aug 27, 2020
a2c85bb
Curl_pgrsTime - return new time to avoid timeout integer overflow
bagder Aug 24, 2020
003e81e
multi: handle connection state winsock events
mback2k Aug 26, 2020
5fcad1c
sockfilt: handle FD_CLOSE winsock event on write socket
mback2k Aug 28, 2020
6e18568
easyoptions: provide debug function when DEBUGBUILD
bagder Aug 28, 2020
70984ce
tests: add test1912 with typechecks
jeroen Aug 27, 2020
a935f0b
RELEASE-NOTES: synced
bagder Aug 28, 2020
05729b6
select: simplify return code handling for poll and select
mback2k Aug 28, 2020
95aea79
CMake: add option to enable Unicode on Windows
MarcelRaad Aug 22, 2020
5cfb807
AppVeyor: switch 64-bit Schannel Debug CMake builds to Unicode
MarcelRaad Aug 22, 2020
f504f18
ntlm: fix condition for curl_ntlm_core usage
MarcelRaad Aug 3, 2020
8bb1831
tests/getpart: use MIME::Base64 instead of home-cooked
bagder Aug 28, 2020
61aab81
docs: add description about CI platforms to CONTRIBUTE.md
mback2k Aug 29, 2020
de77ae0
CI/azure: no longer ignore results of test 1013
mback2k Aug 29, 2020
8b69ac0
buildconf: exec autoreconf to avoid additional process
mback2k Aug 29, 2020
728f8d3
conn: check for connection being dead before reuse
cgpe-a Aug 29, 2020
a337355
url: remove funny embedded comments in Curl_disonnect calls
bagder Aug 30, 2020
ede125b
tls: add CURLOPT_SSL_EC_CURVES and --curves
baentsch Aug 29, 2020
e37e446
mqtt: enable by default
bagder Aug 31, 2020
147eca8
RELEASE-NOTES: synced
bagder Aug 31, 2020
82149e7
curl.1: add see also no-progress-meter on two spots
bagder Sep 1, 2020
401d237
cmdline-opts/gen.pl: generate nicer "See Also" in curl.1
bagder Sep 1, 2020
e250b56
optiontable: use DEBUGBUILD
bagder Sep 1, 2020
64586af
lib/Makefile.am: bump VERSIONINFO due to new functions
bagder Sep 1, 2020
e22682b
test971: show test mismatches "inline"
bagder Sep 2, 2020
e3181d0
copyright.pl: ignore buildconf
bagder Sep 2, 2020
ce56cc8
CI/azure: MQTT is now enabled by default
mback2k Sep 1, 2020
20d74b7
select: align poll emulation to return all relevant events
mback2k Aug 31, 2020
3e4b32a
win32: drop support for WinSock version 1, require version 2
mback2k Aug 30, 2020
8bdc4f8
telnet.c: depend on static requirement of WinSock version 2
mback2k Aug 28, 2020
9b3f888
llist: make it "struct Curl_llist"
bagder Sep 2, 2020
9e90ff0
hash: make it 'struct Curl_hash'
bagder Sep 2, 2020
add7022
schannel: make it 'struct Curl_schannel*'
bagder Sep 2, 2020
221a584
curl_threads: make it 'struct Curl_actual_call'
bagder Sep 2, 2020
3acb2ab
vtls: make it 'struct Curl_ssl_session'
bagder Sep 2, 2020
c26446f
wildcard: strip "curl_" prefix from private symbols
bagder Sep 2, 2020
5507a6a
mqtt.c: avoid curl_ prefix on local variable
bagder Sep 2, 2020
dd51f04
setopt: avoid curl_ on local variable
bagder Sep 2, 2020
b3fbb2f
openssl: avoid error conditions when importing native CA
bagder Sep 2, 2020
63a111a
travis: add a CI job with openssl3 (from git master)
bagder Sep 2, 2020
3eff1c5
http_proxy: do not crash with HTTPS_PROXY and NO_PROXY set
MartinBasti Aug 27, 2020
b4d86d3
scripts/delta: add diffstat summary
bagder Sep 3, 2020
a27af8b
libssh2: pass on the error from ssh_force_knownhost_key_type
beckenc Sep 3, 2020
d541f83
CMake: remove explicit `CMAKE_ANSI_CFLAGS`
SamuelMarks May 21, 2020
d1d3105
connect.c: remove superfluous 'else' in Curl_getconnectinfo
ihsinme Sep 4, 2020
df0282a
RELEASE-NOTES: synced
bagder Sep 4, 2020
5dddc1d
docs: add categories to all cmdline opts
cvengler Jul 13, 2020
aa8777f
tool: update --help with categories
cvengler Sep 2, 2020
a86cc7e
tests: Add tests for new --help
cvengler Jul 14, 2020
879007f
easygetopt: pass a valid enum to avoid compiler warning
bagder Sep 5, 2020
6ecb63e
curl: in retry output don't call all problems "transient"
bagder Sep 5, 2020
953088d
winbuild/rundebug.cmd: remove
bagder Sep 5, 2020
bbf8cae
build: drop support for building with Watcom
bagder Sep 5, 2020
e4e725f
curl:parallel_transfers: make sure retry readds the transfer
bagder Sep 5, 2020
363a88a
curl: retry delays in parallel mode no longer sleeps blocking
bagder Sep 5, 2020
e50a877
tests: remove pipelining tests
bagder Sep 5, 2020
8ca54a0
test1541: remove since it is a known bug
bagder Sep 5, 2020
f93455e
altsvc: clone setting in curl_easy_duphandle
bagder Sep 5, 2020
e089704
CI/azure: add test number to title for display in analytics
mback2k Sep 6, 2020
2a82e4d
tests/libtests: remove test 1900 and 2033
bagder Sep 7, 2020
d799b77
libtest: remove lib1541 leftovers
bagder Sep 7, 2020
dc95c4e
cmake: make HTTP_ONLY also disable MQTT
bagder Sep 7, 2020
d63b390
FAQ: refreshed some very old language
bagder Sep 7, 2020
6d946ad
openssl: consider ALERT_CERTIFICATE_EXPIRED a failed verification
bagder Sep 7, 2020
8684bb7
configure: let --enable-debug set -Wenum-conversion with gcc >= 10
bagder Sep 7, 2020
6f42e3b
travis: add a build using libressl (from git master)
bagder Sep 7, 2020
3532262
url: use blank credentials when using proxy w/o username and password
Sep 7, 2020
ad425d3
RELEASE-NOTES: synced
bagder Sep 8, 2020
17fcdf6
lib: fix -Wassign-enum warnings
bagder Sep 7, 2020
ab213d6
libtest: fix build errors
bagder Sep 8, 2020
558dffe
lib583: fix enum mixup
bagder Sep 8, 2020
36f6049
curl_mime_headers.3: fix the example's use of curl_slist_append
bagder Sep 8, 2020
20417a1
base64: enable in build with SMTP
bagder Sep 8, 2020
11ab0ad
base64: also build for pop3 and imap
bagder Sep 9, 2020
4ba275a
HISTORY: mention alt-svc added in 2019
bagder Sep 10, 2020
25a25f4
http: consolidate nghttp2_session_mem_recv() call paths
laramiel Jul 3, 2020
33bca7c
docs/LICENSE-MIXING: remove
bagder Sep 11, 2020
5fbc3ee
tests: add test1912 to the dist
bagder Sep 12, 2020
9fffe92
dynbuf: make sure Curl_dyn_tail() zero terminates
bagder Sep 13, 2020
c4ea71a
dynbuf: provide curlx_ names for reuse by the curl tool
bagder Sep 9, 2020
47dd957
curl: use curlx_dynbuf for realloc when loading config files
bagder Sep 9, 2020
b83947c
runtests: allow creating files without newlines
bagder Sep 13, 2020
5c2d2d2
test434: test -K use in a single line without newline
bagder Sep 13, 2020
51e8f29
RELEASE-NOTES: synced
bagder Sep 14, 2020
da5ae38
imap: set cselect_bits to CURL_CSELECT_IN initially
ansingh May 7, 2020
0938f82
curl: make file2string use dynbuf
bagder Sep 11, 2020
893bbd7
curl: make file2memory use dynbuf
bagder Sep 11, 2020
70a3b00
curl: make glob_match_url use dynbuf
bagder Sep 11, 2020
a167949
curl: make checkpasswd use dynbuf
bagder Sep 11, 2020
7ea2e1d
ftp: a 550 response to SIZE returns CURLE_REMOTE_FILE_NOT_FOUND
bagder Sep 12, 2020
182ff2d
vtls: deduplicate client certificates in ssl_config_data
ngg Jun 29, 2020
4e66207
tool_urlglob: fix compiler warning "unreachable code"
bagder Sep 14, 2020
0c1e767
tool_writeout: add new writeout variable, %{num_headers}
anio Sep 9, 2020
8854b92
tests/FILEFORMAT: document nonewline support for <file>
bagder Sep 15, 2020
304aeac
tests/FILEFORMAT: document type=shell for <command>
bagder Sep 15, 2020
9fe7b66
travis: use libressl v3.1.4 instead of master
bagder Sep 15, 2020
2cc6857
test3015: verify stdout "as text"
bagder Sep 15, 2020
0b4c414
tool_writeout: protect fputs() from NULL
bagder Sep 15, 2020
1556b99
CI/azure: disable test 571 in the msys2 builds
bagder Sep 15, 2020
ec6363b
tool_help.h: update copyright year range
bagder Sep 16, 2020
15f5d59
TODO: add PR reference for native IDN support on macOS
bagder Sep 16, 2020
af09599
TODO: dynamically decide to use socketpair
bagder Sep 16, 2020
40d67da
multi: reuse WinSock events variable in Curl_multi_wait
mback2k Sep 12, 2020
1060955
multi: align WinSock mask variables in Curl_multi_wait
mback2k Sep 12, 2020
c0f0e40
urlapi: use more Curl_safefree
cvengler Sep 16, 2020
48fb543
github: use new issue template feature
cvengler Sep 8, 2020
cd048aa
github: remove the duplicate "Security vulnerability" entry
bagder Sep 17, 2020
83cc966
man pages: switch to https://example.com URLs
bagder Sep 16, 2020
cc372af
ftp: get rid of the PPSENDF macro
bagder Sep 17, 2020
7921b41
easy_reset: clear retry counter
Sep 17, 2020
3d8731c
ftp: avoid risk of reading uninitialized integers
bagder Sep 17, 2020
2cf5f93
RELEASE-NOTES: synced
bagder Sep 18, 2020
2df7414
CHECKSRC: document two missing warnings
bagder Sep 18, 2020
5bd63e0
--help: strdup the category
bagder Sep 18, 2020
6f82ebd
BUGS: convert document to markdown
bagder Sep 18, 2020
d3d8773
docs/TheArtOfHttpScripting: convert to markdown
bagder Sep 18, 2020
559ed3c
docs/RESOURCES: remove
bagder Sep 18, 2020
e1485bd
docs/MQTT: not experimental anymore
bagder Sep 21, 2020
5535888
docs/MQTT: remove outdated paaragraphs
bagder Sep 21, 2020
be23839
cmake: remove scary warning
bagder Sep 20, 2020
2e645e2
parsedate: tune the date to epoch conversion
bagder Sep 21, 2020
6434a73
Curl_handler: add 'family' to each protocol
bagder Sep 21, 2020
f4873eb
krb5: merged security.c and krb specific FTP functions in here
bagder Sep 21, 2020
a8e08a8
setopt: return CURLE_BAD_FUNCTION_ARGUMENT on bad argument
bagder Sep 21, 2020
e580308
http_proxy: do not count proxy headers in the header bytecount
bagder Sep 22, 2020
3e80895
test1297: verify GOT_NOTHING with http proxy tunnel
bagder Sep 22, 2020
1ee289f
curl_krb5.h: rename from krb5.h
bagder Sep 22, 2020
5a654a0
RELEASE-NOTES: synced
bagder Sep 22, 2020
3d64031
symbian: drop support
bagder Sep 21, 2020
0548eca
pingpong: remove a malloc per Curl_pp_vsendf call
bagder Sep 22, 2020
2355857
KNOWN_BUGS: Unable to use PKCS12 certificate with Secure Transport
bagder Sep 23, 2020
7e8561e
dynbuf: make *addf() not require extra mallocs
bagder Sep 22, 2020
f74afa4
dynbuf: add Curl_dyn_vaddf
bagder Sep 23, 2020
675eeb1
pingpong: use a dynbuf for the *_pp_sendf() function
bagder Sep 23, 2020
93653ef
tests/data: Fix some mismatched XML tags in test cases
dfandrich Sep 23, 2020
1397a7d
ftp: separate FTPS from FTP over "HTTPS proxy"
bagder Sep 21, 2020
92a9b88
Curl_send: return error when pre_receive_plain can't malloc
bagder Sep 24, 2020
c4693ad
imap: make imap_send use dynbuf for the send buffer management
bagder Sep 24, 2020
bed5f84
strerror: honor Unicode API choice on Windows
jblazquez Sep 24, 2020
3d60a22
ngtcp2: adapt to new NGTCP2_PROTO_VER_MAX define
bagder Sep 25, 2020
11522d7
test163[12]: require http to be built-in to run
bagder Sep 25, 2020
7772344
pause: only trigger a reread if the unpause sticks
bagder Sep 25, 2020
4a4c724
ftp: make a 552 response return CURLE_REMOTE_DISK_FULL
bagder Sep 25, 2020
1e3c52f
RELEASE-NOTES: synced
bagder Sep 26, 2020
abeeffb
schannel: return CURLE_PEER_FAILED_VERIFICATION for untrusted root
bagder Sep 28, 2020
422b257
ROADMAP: updates and cleanups
bagder Sep 28, 2020
a87cca7
sendf: move Curl_sendf to dict.c and make it static
bagder Sep 28, 2020
82d66f1
memdebug: remove 9 year old unused debug function
cvengler Sep 17, 2020
edfb616
libssh2: handle the SSH protocols done over HTTPS proxy
bagder Sep 28, 2020
a7de1c0
TODO: SSH over HTTPS proxy with more backends
bagder Sep 28, 2020
83c6493
configure: use "no" instead of "disabled" for the end summary
bagder Sep 29, 2020
cbe7fad
ECH: renamed from ESNI in docs and configure
bagder Sep 29, 2020
b312e32
sectransp: make it build with --disable-proxy
bagder Sep 30, 2020
025b209
HISTORY: add some 2020 events
bagder Sep 30, 2020
021f2c2
MANUAL: update examples to resolve without redirects
danielgustafsson Sep 30, 2020
2aac895
src: Consistently spell whitespace without whitespace
danielgustafsson Sep 30, 2020
c8204ed
configure: don't say HTTPS-proxy is enabled when disabled!
bagder Sep 30, 2020
7b9e3c4
examples/README: convert to markdown
bagder Sep 30, 2020
d0c7773
include/README: convert to markdown
bagder Sep 30, 2020
422f610
tests/README: convert to markdown
bagder Sep 30, 2020
8aeb82e
tests/unit/README: convert to markdown
bagder Sep 30, 2020
6603917
TODO: Add OpenBSD libtool notice
cvengler Sep 30, 2020
ce95c5e
RELEASE-NOTES: synced
bagder Oct 1, 2020
7920be9
vtls: deduplicate some DISABLE_PROXY ifdefs
kdudka Jul 27, 2020
9a13f7c
strerror: fix null deref on winapi out-of-memory
jay Oct 1, 2020
3997b3e
curl: make --libcurl show binary posts correctly
bagder Oct 1, 2020
0132760
tool_setopt: escape binary data to hex, not octal
bagder Oct 1, 2020
2dd53e8
runtests: allow generating a binary sequence from hex
bagder Oct 1, 2020
ddecd28
test1465: verify --libcurl with binary POST data
bagder Oct 1, 2020
26a7d51
checksrc: warn on space after exclamation mark
bagder Oct 2, 2020
e6b21d4
runtests: provide curl's version string as %VERSION for tests
bagder Oct 2, 2020
6497ed4
ldap: reduce the amount of #ifdefs needed
bagder Oct 2, 2020
2ead0ca
docs/opts: fix typos in two manual pages
ferivoz Oct 3, 2020
639c6bf
--help: move two options from the misc category
cvengler Oct 3, 2020
b8e4d1c
runtests: add %repeat[]% for test files
bagder Oct 3, 2020
af782db
build-wolfssl: fix build with Visual Studio 2019
MRT-77 Oct 2, 2020
0648844
scripts/release-notes.pl: don't "embed" $ in format string for printf()
bagder Oct 5, 2020
d3a3cac
RELEASE-NOTES: synced
bagder Oct 5, 2020
ec1cb75
curl: make sure setopt CURLOPT_IPRESOLVE passes on a long
bagder Oct 4, 2020
bc5455f
mbedtls: add missing header when defining MBEDTLS_DEBUG
fwh-dc Oct 6, 2020
7d8c89d
checksrc: detect // comments on column 0
bagder Oct 7, 2020
1101fbb
runtests.pl: use $LIBDIR variable instead of hardcoded path
mback2k Oct 7, 2020
a4c26b0
HISTORY: curl verifies SSL certs by default since version 7.10
bagder Oct 9, 2020
c8ca705
src/Makefile.m32: fix undefined curlx_dyn_* errors
vszakats Oct 11, 2020
d707a9f
windows: fix comparison of mismatched types warning
vszakats Oct 12, 2020
0a99281
CI/tests: use verification curl for test reporting APIs
mback2k Oct 12, 2020
a326877
strerror: Revert to local codepage for Windows error string
jay Oct 13, 2020
1124180
tests/server/util.c: fix support for Windows Unicode builds
mback2k Oct 13, 2020
d8fffd7
CI/tests: fix invocation of tests for CMake builds
snikulov Oct 12, 2020
fddc603
projects/build-wolfssl.bat: fix the copyright year range
bagder Oct 14, 2020
eafe1ea
mailmap: fixups of some contributors
bagder Sep 4, 2020
2cbd2a2
THANKS: from 7.73.0 and .mailmap fixes
bagder Oct 11, 2020
315ee3f
RELEASE-NOTES: synced
bagder Oct 11, 2020
15997f6
test122[12]: remove these two tests
bagder Oct 14, 2020
7c88fe3
src/tool_filetime: disable -Wformat on mingw for this file
bagder Oct 15, 2020
a654fdc
RELEASE-NOTES: synced
bagder Oct 15, 2020
8b1a10c
connect: repair build without ipv6 availability
jay Oct 15, 2020
5168e5a
strerror: use 'const' as the string should never be modified
spth Oct 13, 2020
621e147
docs/FEATURE: convert to markdown
bagder Oct 13, 2020
88bf689
runtests: return error if no tests ran
bagder Oct 7, 2020
3862c37
libcurl.pc: make it relocatable
reddwarf69 Oct 11, 2020
b7ea3d2
urlapi: URL encode a '+' in the query part
bagder Oct 15, 2020
475c1ab
checksrc: warn on empty line before open brace
bagder Oct 15, 2020
c5ff3fb
tool_operate: fix compiler warning when --libcurl is disabled
bagder Oct 15, 2020
769c9a4
Makefile.m32: add support for HTTP/3 via ngtcp2+nghttp3
vszakats Oct 16, 2020
e34959c
http3: fix two build errors, silence warnings
vszakats Oct 16, 2020
a3d5b19
openssl: acknowledge SRP disabling in configure properly
bagder Oct 15, 2020
6d1a05b
CURLOPT_TCP_NODELAY.3: fix comment in example code
Zenju Oct 16, 2020
bfd35d5
CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well
bagder Oct 16, 2020
354afc8
CI/azure: improve on flakiness by avoiding libtool wrappers
mback2k Oct 12, 2020
6f85968
CURLOPT_NOBODY.3: fix typo
bagder Oct 16, 2020
3bcd81d
os400: Sync libcurl API options
jay Oct 15, 2020
f3b7d72
packages/OS400: make the source code-style compliant
bagder Oct 15, 2020
65fb4d1
curl_url_set.3: fix typo in the RETURN VALUE section
bagder Oct 18, 2020
eb97e2c
RELEASE-NOTES: synced
bagder Oct 19, 2020
4282d5f
runtests: revert the mistaken edit of $CURL
bagder Oct 19, 2020
18dd7cc
CI/travis: add brotli and zstd to the libssh2 build
bagder Oct 19, 2020
57501c8
CMake: call the feature unixsockets without dash
bagder Oct 20, 2020
6dc563c
CMake: store IDN2 information in curl_config.h
bagder Oct 20, 2020
141e23d
KNOWN_BUGS: mention the individual cmake issues
bagder Oct 21, 2020
fa65380
Merge remote-tracking branch 'upstream/master' into curl.7.73.0
wmacaluso Oct 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
201 changes: 201 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2020, Daniel Stenberg, <[email protected]>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at https://curl.haxx.se/docs/copyright.html.
#
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
# copies of the Software, and permit persons to whom the Software is
# furnished to do so, under the terms of the COPYING file.
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
###########################################################################
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
branches:
include:
- 'master'
- '*/ci'

pr:
branches:
include:
- 'master'

stages:

##########################################
### Linux jobs first
##########################################

- stage: linux
dependsOn: []
jobs:
- job: ubuntu
# define defaults to make sure variables are always expanded/replaced
variables:
install: ''
configure: ''
tests: ''
timeoutInMinutes: 60
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
default:
name: default
configure: --enable-debug
disable_ipv6:
name: w/o IPv6
configure: --disable-ipv6
disable_http_smtp_imap:
name: w/o HTTP/SMTP/IMAP
configure: --disable-http --disable-smtp --disable-imap
disable_thredres:
name: sync resolver
configure: --disable-threaded-resolver
http_only:
name: HTTP only
configure: --disable-dict --disable-file --disable-ftp --disable-gopher --disable-imap --disable-ldap --disable-pop3 --disable-rtmp --disable-rtsp --disable-scp --disable-sftp --disable-smb --disable-smtp --disable-telnet --disable-tftp
torture:
name: torture
install: libnghttp2-dev
configure: --enable-debug --disable-shared --disable-threaded-resolver --enable-alt-svc
tests: -n -t --shallow=40 !FTP
steps:
- script: sudo apt-get update && sudo apt-get install -y stunnel4 python-impacket libzstd-dev libbrotli-dev $(install)
displayName: 'apt install'

- script: ./buildconf && ./configure --enable-warnings --enable-werror $(configure)
displayName: 'configure $(name)'

- script: make
displayName: 'make && cd tests && make'

- script: make test-nonflaky
displayName: 'test'
env:
AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
TFLAGS: "-r $(tests)"

##########################################
### Windows jobs below
##########################################

- stage: windows
dependsOn: []
variables:
agent.preferPowerShellOnContainers: true
jobs:
- job: windows
# define defaults to make sure variables are always expanded/replaced
variables:
container_img: ''
container_cmd: ''
configure: ''
tests: ''
timeoutInMinutes: 120
pool:
vmImage: 'windows-2019'
strategy:
matrix:
msys2_mingw32_debug_openssl:
name: 32-bit OpenSSL and MQTT
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
container_cmd: C:\msys64\usr\bin\sh
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --with-libssh2
tests: ~571 ~612 ~1056 ~1299 !SCP
msys2_mingw64_debug_openssl:
name: 64-bit OpenSSL and MQTT
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
container_cmd: C:\msys64\usr\bin\sh
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --with-libssh2
tests: ~571 ~612 ~1056 ~1299 !SCP
msys1_mingw_debug_openssl:
name: 32-bit OpenSSL (legacy)
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
container_cmd: C:\MinGW\msys\1.0\bin\sh
configure: --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug
tests: ~203 ~1056 ~1143
msys1_mingw32_debug_openssl:
name: 32-bit OpenSSL w/o zlib
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw32:ltsc2019
container_cmd: C:\MinGW\msys\1.0\bin\sh
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --without-zlib
tests: ~203 ~1056 ~1143 ~1299
msys1_mingw64_debug_openssl:
name: 64-bit OpenSSL w/o zlib
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw64:ltsc2019
container_cmd: C:\MinGW\msys\1.0\bin\sh
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --without-zlib
tests: ~203 ~1056 ~1143 ~1299
msys2_mingw32_debug_schannel:
name: 32-bit Schannel/SSPI/WinIDN
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
container_cmd: C:\msys64\usr\bin\sh
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn --with-libssh2
tests: ~165 ~310 ~571 ~612 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001 !SCP
msys2_mingw64_debug_schannel:
name: 64-bit Schannel/SSPI/WinIDN
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
container_cmd: C:\msys64\usr\bin\sh
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn --with-libssh2
tests: ~165 ~310 ~571 ~612 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001 !SCP
msys1_mingw_debug_schannel:
name: 32-bit Schannel/SSPI/WinIDN (legacy)
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
container_cmd: C:\MinGW\msys\1.0\bin\sh
configure: --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug --enable-sspi --without-ssl --with-schannel --with-winidn
tests: ~203 ~305 ~310 ~311 ~312 ~313 ~404 ~1056 ~1143 ~2034 ~2035 ~2037 ~2038 ~2041 ~2042 ~2048 ~3000 ~3001
msys1_mingw32_debug_schannel:
name: 32-bit Schannel/SSPI/WinIDN w/o zlib
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw32:ltsc2019
container_cmd: C:\MinGW\msys\1.0\bin\sh
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn --without-zlib
tests: ~203 ~310 ~1056 ~1143 ~1299 ~2034 ~2037 ~2041 ~3000 ~3001
msys1_mingw64_debug_schannel:
name: 64-bit Schannel/SSPI/WinIDN w/o zlib
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw64:ltsc2019
container_cmd: C:\MinGW\msys\1.0\bin\sh
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn --without-zlib
tests: ~203 ~310 ~1056 ~1143 ~1299 ~2034 ~2037 ~2041 ~3000 ~3001
container:
image: $(container_img)
env:
MSYS2_PATH_TYPE: inherit
steps:
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && $(prepare)"
displayName: 'prepare'
condition: variables.prepare

- script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
displayName: 'configure $(name)'

- script: $(container_cmd) -l -c "cd $(echo '%cd%') && make && cd tests && make"
displayName: 'make'

- script: $(container_cmd) -l -c "cd $(echo '%cd%') && make install && PATH=/usr/bin:/bin find . -type f -path '*/.libs/*.exe' -print -execdir mv -t .. {} \;"
displayName: 'install'

- script: $(container_cmd) -l -c "cd $(echo '%cd%') && make test-nonflaky"
displayName: 'test'
env:
AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
TFLAGS: "-vc /usr/bin/curl.exe -r $(tests)"
77 changes: 77 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2020, Daniel Stenberg, <[email protected]>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at https://curl.haxx.se/docs/copyright.html.
#
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
# copies of the Software, and permit persons to whom the Software is
# furnished to do so, under the terms of the COPYING file.
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
###########################################################################
# Cirrus CI configuration
# https://cirrus-ci.com/github/curl/curl

task:
name: FreeBSD
freebsd_instance:
matrix:
# A stable 13.0 image likely won't be available before early 2021
# image_family: freebsd-13-0-snap
image_family: freebsd-12-1
image_family: freebsd-11-4

env:
CIRRUS_CLONE_DEPTH: 10
MAKE_FLAGS: -j 2

pkginstall_script:
- pkg update -f
- pkg install -y autoconf automake libtool pkgconf brotli openldap-client heimdal libpsl libmetalink libssh2 openssh-portable libidn2 librtmp libnghttp2 nghttp2 stunnel
- case `python -V` in
Python?3.7*) pkg install -y py37-impacket ;;
Python?2.7*) pkg install -y py27-impacket ;;
esac
- pkg delete -y curl
configure_script:
- ./buildconf
- case `uname -r` in
12.1*)
export CC=clang;
export CFLAGS="-fsanitize=address,undefined,signed-integer-overflow -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g";
export CXXFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g";
export LDFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer" ;;
esac
- ./configure --prefix="${HOME}"/install --enable-debug --with-libssh2 --with-brotli --with-gssapi --with-libidn2 --enable-manual --enable-ldap --enable-ldaps --with-librtmp --with-libmetalink --with-libpsl --with-nghttp2 || { tail -300 config.log; false; }
compile_script:
- make V=1
test_script:
# blackhole?
- sysctl net.inet.tcp.blackhole
# make sure we don't run blackhole != 0
- sudo sysctl net.inet.tcp.blackhole=0
# Some tests won't run if run as root so run them as another user.
# Make directories world writable so the test step can write wherever it needs.
- find . -type d -exec chmod 777 {} \;
# TODO: A number of tests are failing on different FreeBSD versions and so
# are disabled. This should be investigated.
- SKIP_TESTS=''
- uname -r
- case `uname -r` in
13.0*) SKIP_TESTS='!SFTP !SCP';;
12.1*) SKIP_TESTS='!SFTP !SCP';;
11.*) SKIP_TESTS='!SFTP !SCP';;
esac
- sudo -u nobody make V=1 TFLAGS="-n -a -p !flaky ${SKIP_TESTS}" test-nonflaky
install_script:
- make V=1 install
3 changes: 3 additions & 0 deletions .dcignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tests/**
docs/**
docs/examples/**
31 changes: 31 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
;;;***************************************************************************
;;; _ _ ____ _
;;; Project ___| | | | _ \| |
;;; / __| | | | |_) | |
;;; | (__| |_| | _ <| |___
;;; \___|\___/|_| \_\_____|
;;;
;;; Copyright (C) 1998 - 2020, Daniel Stenberg, <[email protected]>, et al.
;;;
;;; This software is licensed as described in the file COPYING, which
;;; you should have received as part of this distribution. The terms
;;; are also available at https://curl.haxx.se/docs/copyright.html.
;;;
;;; You may opt to use, copy, modify, merge, publish, distribute and/or sell
;;; copies of the Software, and permit persons to whom the Software is
;;; furnished to do so, under the terms of the COPYING file.
;;;
;;; This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
;;; KIND, either express or implied.
;;;
;;;***************************************************************************
;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.

((nil . ((indent-tabs-mode . nil)
(show-trailing-whitespace . t)))
(c-mode . ((c-basic-offset . 2)
))
(c++-mode . ((c-basic-offset . 2)
))
)
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ buildconf eol=lf
configure.ac eol=lf
*.m4 eol=lf
*.in eol=lf
*.am eol=lf
*.sh eol=lf
*.[ch] whitespace=tab-in-indent
12 changes: 5 additions & 7 deletions CONTRIBUTING.md → .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,18 @@ Join the community

1. Click 'watch' on the github repo

2. Subscribe to the suitable [mailing lists](http://curl.haxx.se/mail/)
2. Subscribe to the suitable [mailing lists](https://curl.haxx.se/mail/)

Read [docs/CONTRIBUTE](docs/CONTRIBUTE)
Read [CONTRIBUTE](../docs/CONTRIBUTE.md)
---------------------------------------

Send your suggestions using one of these methods:
-------------------------------------------------

1. in a mail to the mailing list

2. as a pull request on github
2. as a [pull request](https://github.com/curl/curl/pulls)

3. as an issue on github


/ The cURL team!
3. as an [issue](https://github.com/curl/curl/issues)

/ The curl team!
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
open_collective: curl
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

<!-- Only file bugs here! Ask questions on the mailing lists https://curl.haxx.se/mail/

SECURITY RELATED? Post it here: https://hackerone.com/curl

There are collections of known issues to be aware of:
https://curl.haxx.se/docs/knownbugs.html
https://curl.haxx.se/docs/todo.html -->

### I did this

### I expected the following

### curl/libcurl version

[curl -V output]

### operating system

<!-- On Unix please post the output of "uname -a" -->
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Feature request
url: https://curl.haxx.se/mail/
about: To propose new features or enhancements, please bring that discussion to a suitable curl mailing list.
- name: Question
url: https://curl.haxx.se/mail/
about: Questions should go to the mailing list
- name: Commercial support
url: https://curl.haxx.se/support.html
about: Several companies are offering paid support for curl/libcurl
Loading