<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/connect.c, branch bagder/test493-https</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>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>
<entry>
<title>quiche: fix crash when failing to connect</title>
<updated>2021-03-08T16:14:13+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-08T10:28:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=ec549aa6254b4f1b8bd612f973a5c44d20a4d20b'/>
<id>ec549aa6254b4f1b8bd612f973a5c44d20a4d20b</id>
<content type='text'>
Reported-by: ウさん
Fixes #6664
Closes #6701
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported-by: ウさん
Fixes #6664
Closes #6701
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: remove 'conn-&gt;data' completely</title>
<updated>2021-02-16T09:48:57+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-02-15T09:15:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=cfff12a0b3d8696e5923064ea4e35e14a4f78da0'/>
<id>cfff12a0b3d8696e5923064ea4e35e14a4f78da0</id>
<content type='text'>
The Curl_easy pointer struct entry in connectdata is now gone. Just
before commit 215db086e0 landed on January 8, 2021 there were 919
references to conn-&gt;data.

Closes #6608
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Curl_easy pointer struct entry in connectdata is now gone. Just
before commit 215db086e0 landed on January 8, 2021 there were 919
references to conn-&gt;data.

Closes #6608
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: use int type for more port variables</title>
<updated>2021-02-09T07:53:31+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2021-02-01T07:10:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=cb2dc1ba89dbdb3850de8e92907bbbbb9c1903e0'/>
<id>cb2dc1ba89dbdb3850de8e92907bbbbb9c1903e0</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>connect: fix compile errors in `Curl_conninfo_local`</title>
<updated>2021-01-29T22:30:50+00:00</updated>
<author>
<name>Layla</name>
<email>layla@insightfulvr.com</email>
</author>
<published>2021-01-29T19:21:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4fc5e7eda53124ce0b64687d2094587e8e56fd4a'/>
<id>4fc5e7eda53124ce0b64687d2094587e8e56fd4a</id>
<content type='text'>
.. for the `#else` (`!HAVE_GETSOCKNAME`) case

Fixes https://github.com/curl/curl/issues/6548
Closes #6549

Signed-off-by: Layla &lt;layla@insightfulvr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.. for the `#else` (`!HAVE_GETSOCKNAME`) case

Fixes https://github.com/curl/curl/issues/6548
Closes #6549

Signed-off-by: Layla &lt;layla@insightfulvr.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>urldata: store ip version in a single byte</title>
<updated>2021-01-27T08:19:12+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-26T13:59:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e76b058f3c9a314edbc1a214e1eaf6ef21955bd9'/>
<id>e76b058f3c9a314edbc1a214e1eaf6ef21955bd9</id>
<content type='text'>
Closes #6534
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6534
</pre>
</div>
</content>
</entry>
<entry>
<title>urldata: remove 'local_ip' from the connectdata struct</title>
<updated>2021-01-27T08:19:05+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-26T13:14:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=d6a37c23a3c4c24ce6ba925253740fae737f153e'/>
<id>d6a37c23a3c4c24ce6ba925253740fae737f153e</id>
<content type='text'>
As the info is already stored in the transfer handle anyway, there's no
need to carry around a duplicate buffer for the life-time of the handle.

Closes #6534
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the info is already stored in the transfer handle anyway, there's no
need to carry around a duplicate buffer for the life-time of the handle.

Closes #6534
</pre>
</div>
</content>
</entry>
<entry>
<title>urldata: remove duplicate port number storage</title>
<updated>2021-01-27T08:19:01+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-26T10:04:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=764c6bd3bf2e7a1f8bc33162ab77b667770f4f73'/>
<id>764c6bd3bf2e7a1f8bc33162ab77b667770f4f73</id>
<content type='text'>
... and use 'int' for ports. We don't use 'unsigned short' since -1 is
still often used internally to signify "unknown value" and 0 - 65535 are
all valid port numbers.

Closes #6534
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and use 'int' for ports. We don't use 'unsigned short' since -1 is
still often used internally to signify "unknown value" and 0 - 65535 are
all valid port numbers.

Closes #6534
</pre>
</div>
</content>
</entry>
<entry>
<title>urldata: remove the duplicate 'ip_addr_str' field</title>
<updated>2021-01-27T08:18:51+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-26T09:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=642d78026f409cfb5b31affc271a0eb8298e8020'/>
<id>642d78026f409cfb5b31affc271a0eb8298e8020</id>
<content type='text'>
... as the numerical IP address is already stored and kept in 'primary_ip'.

Closes #6534
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... as the numerical IP address is already stored and kept in 'primary_ip'.

Closes #6534
</pre>
</div>
</content>
</entry>
<entry>
<title>hostip: remove conn-&gt;data from resolver functions</title>
<updated>2021-01-22T07:25:09+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-20T09:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8335c6417ea21bdfc340f0cb8cab5dbc97b10a2e'/>
<id>8335c6417ea21bdfc340f0cb8cab5dbc97b10a2e</id>
<content type='text'>
This also moves the 'async' struct from the connectdata struct into the
Curl_easy struct, which seems like a better home for it.

Closes #6497
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also moves the 'async' struct from the connectdata struct into the
Curl_easy struct, which seems like a better home for it.

Closes #6497
</pre>
</div>
</content>
</entry>
</feed>
