Jon Wilkes
e2075f2337
cookie: avoid the C1001 internal compiler error with MSVC 14
...
Fixes #6112
Closes #6135
2020-12-18 14:02:27 +01:00
Daniel Stenberg
8fb9f43f81
RELEASE-NOTES: synced
2020-12-18 13:02:40 +01:00
Daniel Stenberg
debf23eead
mqtt: handle POST/PUBLISH without a set POSTFIELDSIZE
...
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
2020-12-18 12:54:05 +01:00
Daniel Stenberg
92fe66c510
travis: add CI job for Hyper build
2020-12-18 09:58:04 +01:00
Daniel Stenberg
c7dd08ce58
tests: updated tests for Hyper
2020-12-18 09:58:04 +01:00
Daniel Stenberg
58974d25d8
lib: introduce c-hyper for using Hyper
...
... as an alternative HTTP backend within libcurl.
2020-12-18 09:58:04 +01:00
Daniel Stenberg
cd7bc174ce
tool_setopt: provide helper output in debug builds
...
... for when setopt() returns error.
2020-12-18 09:58:04 +01:00
Daniel Stenberg
edc89839be
setopt: adjust to Hyper and disabled HTTP builds
2020-12-18 09:58:04 +01:00
Daniel Stenberg
4daba06762
rtsp: disable if Hyper is used
2020-12-18 09:58:04 +01:00
Daniel Stenberg
34021b804d
getinfo: build with disabled HTTP support
2020-12-18 09:58:03 +01:00
Daniel Stenberg
9211cb2034
version: include hyper version
2020-12-18 09:58:03 +01:00
Daniel Stenberg
8a113ba93c
docs: add HYPER.md
2020-12-18 09:58:03 +01:00
Daniel Stenberg
c263e583c2
configure: add --with-hyper
...
As the first (optional) HTTP backend alternative instead of native
Close #6110
2020-12-18 09:57:51 +01:00
Daniel Stenberg
ff4d2c2a05
test1522: add debug tracing
...
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
2020-12-17 16:55:56 +01:00
Daniel Stenberg
a5bc272223
http: show the request as headers even when split-sending
...
When the initial request isn't possible to send in its entirety, the
remainder of request would be delivered to the debug callback as data
and would wrongly be counted internally as body-bytes sent.
Extended test 1295 to verify.
Closes #6328
2020-12-17 14:00:27 +01:00
Daniel Stenberg
3e17c8ab72
multi: when erroring in TOOFAST state, act as for PERFORM
...
When failing in TOOFAST, the multi_done() wasn't called so the same
cleanup and handling wasn't done like when it fails in PERFORM, which in
the case of FTP could mean that the control connection wouldn't be
marked as "dead" for the CURLE_ABORTED_BY_CALLBACK case. Which caused
ftp_disconnect() to use it to send "QUIT", which could end up waiting
for a response a long time before giving up!
Reported-by: Tomas Berger
Fixes #6333
Closes #6337
2020-12-17 13:57:27 +01:00
Daniel Stenberg
ad338b390b
cmake: enable gophers correctly in curl-config
...
Closes #6336
2020-12-17 13:56:18 +01:00
Daniel Stenberg
3abfadfc19
test1198/9: add two mqtt publish tests without payload lengths
...
Closes #6335
2020-12-17 13:55:02 +01:00
Daniel Stenberg
30fc1cc7db
tests/mqttd: extract the client id from the correct offset
...
Closes #6334
2020-12-17 10:15:31 +01:00
Daniel Stenberg
f25112074d
TODO: Prevent terminal injection when writing to terminal
...
Closes #6150
2020-12-16 23:38:20 +01:00
Daniel Stenberg
d16fb4d056
Revert "CI/github: work-around for brew breakage on macOS"
...
This reverts commit 4cbb17a2cb
.
... as the work-around now causes failures.
Closes #6332
2020-12-16 14:37:41 +01:00
Daniel Stenberg
1451f4d2e1
examples: remove superfluous asterisk uses
...
... for function pointers. Breaks in ancient compilers.
2020-12-16 09:24:16 +01:00
Daniel Stenberg
4dc710b198
RELEASE-NOTES: synced
2020-12-16 08:22:28 +01:00
Daniel Stenberg
354bc95d96
test1272: fix line ending
...
Follow-up to f24784f914
2020-12-15 17:38:42 +01:00
Daniel Stenberg
98b6aa14d9
URL-SYNTAX: add gophers details
2020-12-15 12:58:19 +01:00
Daniel Stenberg
f24784f914
test1272: test gophers
2020-12-15 12:58:19 +01:00
Daniel Stenberg
48b85c46f1
runtests: add support for gophers, gopher over TLS
2020-12-15 12:58:19 +01:00
parazyd
a1f06f32b8
gopher: Implement secure gopher protocol.
...
This commit introduces a "gophers" handler inside the gopher protocol if
USE_SSL is defined. This protocol is no different than the usual gopher
prococol, with the added TLS encapsulation upon connecting. The protocol
has been adopted in the gopher community, and many people have enabled
TLS in their gopher daemons like geomyidae(8), and clients, like clic(1)
and hurl(1).
I have not implemented test units for this protocol because my knowledge
of Perl is sub-par. However, for someone more knowledgeable it might be
fairly trivial, because the same test that tests the plain gopher
protocol can be used for "gophers" just by adding a TLS listener.
Signed-off-by: parazyd <parazyd@dyne.org>
Closes #6208
2020-12-15 12:58:12 +01:00
Daniel Stenberg
be8c94da78
TODO: Package curl for Windows in a signed installer
...
Closes #5424
2020-12-15 12:02:14 +01:00
Daniel Stenberg
a259eee99f
mqtt: deal with 0 byte reads correctly
...
OSS-Fuzz found it
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28676
Closes #6327
2020-12-15 11:38:29 +01:00
Daniel Stenberg
c4d88f89a9
BUG-BOUNTY: minor language update
...
... and remove the wording about entries from before 2019 as the "within
12 months" is still there and covers that.
Closes #6318
2020-12-15 08:57:07 +01:00
Daniel Stenberg
bc7ecc71c0
tooĺ_writeout: fix the -w time output units
...
Fix regression from commit fc813f80e1
(#6248 ) that changed the unit
to microseconds instead of seconds with fractions
Reported-by: 不确定
Fixes #6321
Closes #6322
2020-12-15 08:09:29 +01:00
Daniel Stenberg
796c068895
quiche: remove fprintf() leftover
2020-12-14 11:19:48 +01:00
Jay Satiro
9f85b986a9
KNOWN_BUGS: SHA-256 digest not supported in Windows SSPI builds
...
Closes https://github.com/curl/curl/issues/6302
2020-12-14 01:08:15 -05:00
Jay Satiro
c54565915f
digest_sspi: Show InitializeSecurityContext errors in verbose mode
...
The error is shown with infof rather than failf so that the user will
see the extended error message information only in verbose mode, and
will still see the standard CURLE_AUTH_ERROR message. For example:
---
* schannel: InitializeSecurityContext failed: SEC_E_QOP_NOT_SUPPORTED
(0x8009030A) - The per-message Quality of Protection is not supported by
the security package
* multi_done
* Connection #1 to host 127.0.0.1 left intact
curl: (94) An authentication function returned an error
---
Ref: https://github.com/curl/curl/issues/6302
Closes https://github.com/curl/curl/pull/6315
2020-12-14 00:25:10 -05:00
Daniel Stenberg
78af8b68cf
URL-SYNTAX: add default port numbers and IDNA details
...
Closes #6316
2020-12-13 23:20:36 +01:00
Daniel Stenberg
7ba2577988
URL-SYNTAX: mention how FILE:// access can access network on windows
...
Closes #6314
2020-12-13 12:24:57 +01:00
Jay Satiro
b90c23d580
URL-SYNTAX: Document default SMTP port 25
...
Note that ports 25 and 587 are common ports for smtp, the former being
the default.
Closes https://github.com/curl/curl/pull/6310
2020-12-12 19:09:42 -05:00
Daniel Stenberg
a0f0c7149f
CURLOPT_URL.3: remove scheme specific details
...
... that are now found in URL-SYNTAX.md
Closes #6307
2020-12-12 22:46:37 +01:00
Dan Fandrich
2a264d494e
docs: Fix some typos
...
[skip ci]
2020-12-12 09:59:28 -08:00
Daniel Stenberg
c29db0303d
URL-SYNTAX: mention all supported schemes
...
Closes #6311
2020-12-12 16:37:16 +01:00
Douglas R. Reno
940d414980
URL-SYNTAX.md: minor language improvements
...
Closes #6308
2020-12-12 11:19:10 +01:00
Daniel Stenberg
ea0916d41b
docs/URL-SYNTAX: the URL syntax curl accepts and works with
...
Closes #6285
2020-12-11 23:57:46 +01:00
0xflotus
5253444090
docs: enable syntax highlighting in several docs files
...
... for better readability
Closes #6286
2020-12-11 18:06:41 +01:00
Daniel Stenberg
eddae97406
test1564/1565: require the 'wakeup' feature to run
...
Fixes #6299
Fixes #6300
Closes #6301
2020-12-11 17:42:18 +01:00
Daniel Stenberg
34bb59a868
runtests: add 'wakeup' as a feature
2020-12-11 17:42:17 +01:00
Daniel Stenberg
769a4687df
tests/server/disabled: add "wakeup"
...
To allow the test suite to know if wakeup support is disabled in the
build.
2020-12-11 17:42:17 +01:00
Daniel Stenberg
6cd066f64b
lib1564/5: verify that curl_multi_wakeup returns OK
2020-12-11 17:42:17 +01:00
Daniel Stenberg
3a63c190bb
tests: make --libcurl tests only test FTP options if ftp enabled
...
Adjust six --libcurl tests to only check the FTP option if FTP is
actually present in the build.
Fixes #6303
Closes #6305
2020-12-11 17:28:35 +01:00
Daniel Stenberg
3e92799171
runtests.pl: fix "uninitialized value" warning
...
follow-up to e12825c642
2020-12-11 13:53:23 +01:00