<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/asyn-thread.c, branch bagder/manpages-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>build: disable more code/data when built without proxy support</title>
<updated>2020-05-30T21:18:16+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-27T09:51:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=f3d501dc678d80a93325bd93ab05c48855e1c0d1'/>
<id>f3d501dc678d80a93325bd93ab05c48855e1c0d1</id>
<content type='text'>
Added build to travis to verify

Closes #5466
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added build to travis to verify

Closes #5466
</pre>
</div>
</content>
</entry>
<entry>
<title>timeouts: change millisecond timeouts to timediff_t from time_t</title>
<updated>2020-05-30T21:10:57+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-28T22:08:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=842f73de58f38bd6e285e08bbd1adb6c17cb62cd'/>
<id>842f73de58f38bd6e285e08bbd1adb6c17cb62cd</id>
<content type='text'>
For millisecond timers we like timediff_t better. Also, time_t can be
unsigned so returning a negative value doesn't work then.

Closes #5479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For millisecond timers we like timediff_t better. Also, time_t can be
unsigned so returning a negative value doesn't work then.

Closes #5479
</pre>
</div>
</content>
</entry>
<entry>
<title>source cleanup: remove all custom typedef structs</title>
<updated>2020-05-15T06:54:42+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-13T22:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8df455479f8801bbebad8839fc96abbffa711603'/>
<id>8df455479f8801bbebad8839fc96abbffa711603</id>
<content type='text'>
 - Stick to a single unified way to use structs
 - Make checksrc complain on 'typedef struct {'
 - Allow them in tests, public headers and examples

 - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually
   typedef different types/structs depending on build conditions.

Closes #5338
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Stick to a single unified way to use structs
 - Make checksrc complain on 'typedef struct {'
 - Allow them in tests, public headers and examples

 - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually
   typedef different types/structs depending on build conditions.

Closes #5338
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: enhance the ASTERISKSPACE and update code accordingly</title>
<updated>2020-05-13T22:02:05+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-13T10:56:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=66b077576313eda129bce9f58fdc894d857cb121'/>
<id>66b077576313eda129bce9f58fdc894d857cb121</id>
<content type='text'>
Fine: "struct hello *world"

Not fine: "struct hello* world" (and variations)

Closes #5386
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fine: "struct hello *world"

Not fine: "struct hello* world" (and variations)

Closes #5386
</pre>
</div>
</content>
</entry>
<entry>
<title>asyn-*: remove support for never-used NULL entry pointers</title>
<updated>2020-05-03T20:48:04+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-02T14:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=59e351a572956fb99a1c1950b9b309cff5f16fc6'/>
<id>59e351a572956fb99a1c1950b9b309cff5f16fc6</id>
<content type='text'>
... and instead convert those to asserts to make sure they are truly
never NULL.

Closes #5324
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and instead convert those to asserts to make sure they are truly
never NULL.

Closes #5324
</pre>
</div>
</content>
</entry>
<entry>
<title>asyn-thread: fix cppcheck warning</title>
<updated>2020-05-02T19:03:39+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2020-05-02T18:53:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=153d581b7f1aa9810037b2bdd3428ca3de0ff59d'/>
<id>153d581b7f1aa9810037b2bdd3428ca3de0ff59d</id>
<content type='text'>
- Check for NULL entry parameter before attempting to deref entry in
  Curl_resolver_is_resolved, like is already done in asyn-ares.

This is to silence cppcheck which does not seem to understand that
asyn-ares and asyn-thread have separate Curl_resolver_is_resolved
and those units are mutually exclusive. Prior to this change it warned
of a scenario where asyn-thread's Curl_resolver_is_resolved is called
with a NULL entry from asyn-ares, but that couldn't happen.

Reported-by: rl1987@users.noreply.github.com

Fixes https://github.com/curl/curl/issues/5326
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Check for NULL entry parameter before attempting to deref entry in
  Curl_resolver_is_resolved, like is already done in asyn-ares.

This is to silence cppcheck which does not seem to understand that
asyn-ares and asyn-thread have separate Curl_resolver_is_resolved
and those units are mutually exclusive. Prior to this change it warned
of a scenario where asyn-thread's Curl_resolver_is_resolved is called
with a NULL entry from asyn-ares, but that couldn't happen.

Reported-by: rl1987@users.noreply.github.com

Fixes https://github.com/curl/curl/issues/5326
</pre>
</div>
</content>
</entry>
<entry>
<title>asyn-thread: remove dead code</title>
<updated>2020-02-09T07:27:29+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2020-02-09T07:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=05d3312f77007622f524175e049509687130805d'/>
<id>05d3312f77007622f524175e049509687130805d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>global_init: move the IPv6 works status bool to multi handle</title>
<updated>2020-01-28T07:03:22+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-01-26T16:51:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0b030a5b232bd9fc4fed90f0d1aaac69c189aa22'/>
<id>0b030a5b232bd9fc4fed90f0d1aaac69c189aa22</id>
<content type='text'>
Previously it was stored in a global state which contributed to
curl_global_init's thread unsafety. This boolean is now instead figured
out in curl_multi_init() and stored in the multi handle. Less effective,
but thread safe.

Closes #4851
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously it was stored in a global state which contributed to
curl_global_init's thread unsafety. This boolean is now instead figured
out in curl_multi_init() and stored in the multi handle. Less effective,
but thread safe.

Closes #4851
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: Copyright year out of date, should be 2020</title>
<updated>2020-01-10T21:39:04+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-01-10T21:38:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8bd14c871fcd0f857c7b9bad81ad8ff17d10d89b'/>
<id>8bd14c871fcd0f857c7b9bad81ad8ff17d10d89b</id>
<content type='text'>
Follow-up to 875314ed0bf3b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to 875314ed0bf3b
</pre>
</div>
</content>
</entry>
<entry>
<title>hostip: move code to resolve IP address literals to `Curl_resolv`</title>
<updated>2020-01-10T16:57:16+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2020-01-06T11:56:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=875314ed0bf3b7c156e8762f30e1a2c11fb301ba'/>
<id>875314ed0bf3b7c156e8762f30e1a2c11fb301ba</id>
<content type='text'>
The code was duplicated in the various resolver backends.

Also, it was called after the call to `Curl_ipvalid`, which matters in
case of `CURLRES_IPV4` when called from `connect.c:bindlocal`. This
caused test 1048 to fail on classic MinGW.

The code ignores `conn-&gt;ip_version` as done previously in the
individual resolver backends.

Move the call to the `resolver_start` callback up to appease test 655,
which wants it to be called also for literal addresses.

Closes https://github.com/curl/curl/pull/4798
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code was duplicated in the various resolver backends.

Also, it was called after the call to `Curl_ipvalid`, which matters in
case of `CURLRES_IPV4` when called from `connect.c:bindlocal`. This
caused test 1048 to fail on classic MinGW.

The code ignores `conn-&gt;ip_version` as done previously in the
individual resolver backends.

Move the call to the `resolver_start` callback up to appease test 655,
which wants it to be called also for literal addresses.

Closes https://github.com/curl/curl/pull/4798
</pre>
</div>
</content>
</entry>
</feed>
