<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git, branch bagder/libssh2-session-free</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>libssh2: clear session pointer after free</title>
<updated>2021-03-20T23:10:04+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-20T23:10:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=05f37c099d404f961e64af5c8f41196d4e0514d6'/>
<id>05f37c099d404f961e64af5c8f41196d4e0514d6</id>
<content type='text'>
If libssh2_knownhost_init() returns NULL, like in an OOM situation, the
ssh session was freed but the pointer wasn't cleared which made libcurl
later call libssh2 to cleanup using the stale pointer.

Fixes #6764
Closes #
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If libssh2_knownhost_init() returns NULL, like in an OOM situation, the
ssh session was freed but the pointer wasn't cleared which made libcurl
later call libssh2 to cleanup using the stale pointer.

Fixes #6764
Closes #
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: clarify timeouts for queued transfers in multi API</title>
<updated>2021-03-19T22:28:21+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-17T22:33:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=472b537215984cd0d153055a0cd6b3ccc2f387e5'/>
<id>472b537215984cd0d153055a0cd6b3ccc2f387e5</id>
<content type='text'>
Closes #6758
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6758
</pre>
</div>
</content>
</entry>
<entry>
<title>ftpserver: only load the preprocessed test file</title>
<updated>2021-03-19T14:57:27+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-18T08:08:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=bd738bef1258f79352561e0ff594651cc60dad1d'/>
<id>bd738bef1258f79352561e0ff594651cc60dad1d</id>
<content type='text'>
We always preprocess and tests are no longer sensible to load "raw"

Closes #6738
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We always preprocess and tests are no longer sensible to load "raw"

Closes #6738
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use %TESTNUMBER instead of fixed number</title>
<updated>2021-03-19T14:57:21+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-12T16:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51'/>
<id>e2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51</id>
<content type='text'>
This makes the tests easier to copy and relocate to other test numbers
without having to update content.

Closes #6738
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the tests easier to copy and relocate to other test numbers
without having to update content.

Closes #6738
</pre>
</div>
</content>
</entry>
<entry>
<title>KNOWN_BUGS: CURLOPT_OPENSOCKETPAIRFUNCTION is missing</title>
<updated>2021-03-18T11:53:28+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-18T11:53:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=453ad35d15adf06bd1a141fb026214bc599b067f'/>
<id>453ad35d15adf06bd1a141fb026214bc599b067f</id>
<content type='text'>
Closes #5747
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5747
</pre>
</div>
</content>
</entry>
<entry>
<title>TODO: provide timing info for each redirect</title>
<updated>2021-03-18T07:39:59+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-18T07:39:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=74ec0e5ec094570d109f6a7e355eb7ec899f2a2c'/>
<id>74ec0e5ec094570d109f6a7e355eb7ec899f2a2c</id>
<content type='text'>
Closes #6743
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6743
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Add SSL backend names to CURL_SSL_BACKEND</title>
<updated>2021-03-17T22:15:10+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2021-03-17T05:38:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=2d04286793281328d02985aeaab75b5798f58f95'/>
<id>2d04286793281328d02985aeaab75b5798f58f95</id>
<content type='text'>
- Document the names that can be used with CURL_SSL_BACKEND:
  bearssl, gnutls, gskit, mbedtls, mesalink, nss, openssl, rustls,
  schannel, secure-transport, wolfssl

Ref: https://github.com/curl/curl/issues/2209#issuecomment-360623286
Ref: https://github.com/curl/curl/issues/6717#issuecomment-800745201

Closes https://github.com/curl/curl/pull/6755
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Document the names that can be used with CURL_SSL_BACKEND:
  bearssl, gnutls, gskit, mbedtls, mesalink, nss, openssl, rustls,
  schannel, secure-transport, wolfssl

Ref: https://github.com/curl/curl/issues/2209#issuecomment-360623286
Ref: https://github.com/curl/curl/issues/6717#issuecomment-800745201

Closes https://github.com/curl/curl/pull/6755
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Explain DOH transfers inherit some SSL settings</title>
<updated>2021-03-17T22:12:45+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2021-03-04T05:55:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8a4ef73c8fc035becb4c1d99ca8b1892d100532a'/>
<id>8a4ef73c8fc035becb4c1d99ca8b1892d100532a</id>
<content type='text'>
- Document in DOH that some SSL settings are inherited but DOH hostname
  and peer verification are not and are controlled separately.

- Document that CURLOPT_SSL_CTX_FUNCTION is inherited by DOH handles but
  we're considering changing behavior to no longer inherit it. Request
  feedback.

Closes https://github.com/curl/curl/pull/6688
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Document in DOH that some SSL settings are inherited but DOH hostname
  and peer verification are not and are controlled separately.

- Document that CURLOPT_SSL_CTX_FUNCTION is inherited by DOH handles but
  we're considering changing behavior to no longer inherit it. Request
  feedback.

Closes https://github.com/curl/curl/pull/6688
</pre>
</div>
</content>
</entry>
<entry>
<title>http: make 416 not fail with resume + CURLOPT_FAILONERRROR</title>
<updated>2021-03-17T07:26:46+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-16T13:41:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6d176bee59558a1ec9dffc6633aa05e713af73f0'/>
<id>6d176bee59558a1ec9dffc6633aa05e713af73f0</id>
<content type='text'>
When asked to resume a download, libcurl will convert that to HTTP logic
and if then the entire file is already transferred it will result in a
416 response from the HTTP server. With CURLOPT_FAILONERRROR set in that
scenario, it should *not* lead to an error return.

Updated test 1156, added test 1273

Reported-by: Jonathan Watt
Fixes #6740
Closes #6753
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When asked to resume a download, libcurl will convert that to HTTP logic
and if then the entire file is already transferred it will result in a
416 response from the HTTP server. With CURLOPT_FAILONERRROR set in that
scenario, it should *not* lead to an error return.

Updated test 1156, added test 1273

Reported-by: Jonathan Watt
Fixes #6740
Closes #6753
</pre>
</div>
</content>
</entry>
<entry>
<title>Curl_timeleft: check both timeouts during connect</title>
<updated>2021-03-16T23:28:44+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-15T07:11:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e8e7ef3612d28e98b7b072f8d48c2a9f0b4662b5'/>
<id>e8e7ef3612d28e98b7b072f8d48c2a9f0b4662b5</id>
<content type='text'>
The duration of a connect and the total transfer are calculated from two
different time-stamps. It can end up with the total timeout triggering
before the connect timeout expires and we should make sure to
acknowledge whichever timeout that is reached first.

This is especially notable when a transfer first sits in PENDING, as
that time is counted in the total time but the connect timeout is based
on the time since the handle changed to the CONNECT state.

The CONNECTTIMEOUT is per connect attempt. The TIMEOUT is for the entire
operation.

Fixes #6744
Closes #6745
Reported-by: Andrei Bica
Assisted-by: Jay Satiro
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The duration of a connect and the total transfer are calculated from two
different time-stamps. It can end up with the total timeout triggering
before the connect timeout expires and we should make sure to
acknowledge whichever timeout that is reached first.

This is especially notable when a transfer first sits in PENDING, as
that time is counted in the total time but the connect timeout is based
on the time since the handle changed to the CONNECT state.

The CONNECTTIMEOUT is per connect attempt. The TIMEOUT is for the entire
operation.

Fixes #6744
Closes #6745
Reported-by: Andrei Bica
Assisted-by: Jay Satiro
</pre>
</div>
</content>
</entry>
</feed>
