[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 370/411: docs/INTERNALS: remove reference to Curl_sendf()
From: |
gnunet |
Subject: |
[gnurl] 370/411: docs/INTERNALS: remove reference to Curl_sendf() |
Date: |
Wed, 13 Jan 2021 01:23:05 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 020aa0131bfa733b2a4bd62a010389f9871832df
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Mon Nov 23 23:06:49 2020 +0100
docs/INTERNALS: remove reference to Curl_sendf()
The function has been removed from common usage. Also removed comment in
gopher.c that still referenced it.
Reported-by: Rikard Falkeborn
Fixes #6242
Closes #6243
---
docs/INTERNALS.md | 8 +++-----
lib/gopher.c | 2 --
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/docs/INTERNALS.md b/docs/INTERNALS.md
index 31f718c42..9bbf63161 100644
--- a/docs/INTERNALS.md
+++ b/docs/INTERNALS.md
@@ -236,11 +236,9 @@ multi_do()
The functions are named after the protocols they handle.
The protocol-specific functions of course deal with protocol-specific
- negotiations and setup. They have access to the `Curl_sendf()` (from
- `lib/sendf.c`) function to send printf-style formatted data to the remote
- host and when they're ready to make the actual file transfer they call the
- `Curl_setup_transfer()` function (in `lib/transfer.c`) to setup the
- transfer and returns.
+ negotiations and setup. When they're ready to start the actual file
+ transfer they call the `Curl_setup_transfer()` function (in
+ `lib/transfer.c`) to setup the transfer and returns.
If this DO function fails and the connection is being re-used, libcurl will
then close this connection, setup a new connection and re-issue the DO
diff --git a/lib/gopher.c b/lib/gopher.c
index 1bbede67d..b101c0ab6 100644
--- a/lib/gopher.c
+++ b/lib/gopher.c
@@ -124,8 +124,6 @@ static CURLcode gopher_do(struct connectdata *conn, bool
*done)
sel_org = sel;
}
- /* We use Curl_write instead of Curl_sendf to make sure the entire buffer is
- sent, which could be sizeable with long selectors. */
k = curlx_uztosz(len);
for(;;) {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 325/411: configure: pass -pthread to Libs.private for pkg-config, (continued)
- [gnurl] 325/411: configure: pass -pthread to Libs.private for pkg-config, gnunet, 2021/01/12
- [gnurl] 301/411: curlver: bumped to 7.74.0, gnunet, 2021/01/12
- [gnurl] 332/411: mqttd: fclose test file when done, gnunet, 2021/01/12
- [gnurl] 309/411: KNOWN_BUGS: SMB tests fail with Python 2, gnunet, 2021/01/12
- [gnurl] 324/411: altsvc: minimize variable scope and avoid "DEAD_STORE", gnunet, 2021/01/12
- [gnurl] 282/411: libssh2: fix transport over HTTPS proxy, gnunet, 2021/01/12
- [gnurl] 363/411: KNOWN_BUGS: curl with wolfSSL lacks support for renegotiation, gnunet, 2021/01/12
- [gnurl] 335/411: http_proxy: use enum with state names for 'keepon', gnunet, 2021/01/12
- [gnurl] 298/411: CI/tests: enable test target on TravisCI for CMake builds, gnunet, 2021/01/12
- [gnurl] 358/411: CI/cirrus: simplify logic for disabled tests, gnunet, 2021/01/12
- [gnurl] 370/411: docs/INTERNALS: remove reference to Curl_sendf(),
gnunet <=
- [gnurl] 336/411: cmake: don't pass -fvisibility=hidden to clang-cl on Windows, gnunet, 2021/01/12
- [gnurl] 338/411: httpput-postfields.c: new example doing PUT with POSTFIELDS, gnunet, 2021/01/12
- [gnurl] 276/411: CI/github: work-around for brew breakage on macOS, gnunet, 2021/01/12
- [gnurl] 303/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 293/411: gnutls: fix memory leaks (certfields memory wasn't released), gnunet, 2021/01/12
- [gnurl] 316/411: examples: fix comment syntax, gnunet, 2021/01/12
- [gnurl] 283/411: CMake: make BUILD_TESTING dependent option, gnunet, 2021/01/12
- [gnurl] 337/411: cmake: correctly handle linker flags for static libs, gnunet, 2021/01/12
- [gnurl] 291/411: tool_operate: --retry for HTTP 408 responses too, gnunet, 2021/01/12
- [gnurl] 361/411: RELEASE-NOTES: synced, gnunet, 2021/01/12