<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/tests/data/test506, branch gemini-meta</title>
<subtitle>cURL mirror with patches applied
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/'/>
<entry>
<title>cookies: using a share with cookies shouldn't enable the cookie engine</title>
<updated>2019-09-28T16:10:43+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-09-27T07:41:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=d0a7ee3f613b0c3f2370c6cc81e5aafef67120f0'/>
<id>d0a7ee3f613b0c3f2370c6cc81e5aafef67120f0</id>
<content type='text'>
The 'share object' only sets the storage area for cookies. The "cookie
engine" still needs to be enabled or activated using the normal cookie
options.

This caused the curl command line tool to accidentally use cookies
without having been told to, since curl switched to using shared cookies
in 7.66.0.

Test 1166 verifies

Updated test 506

Fixes #4429
Closes #4434
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'share object' only sets the storage area for cookies. The "cookie
engine" still needs to be enabled or activated using the normal cookie
options.

This caused the curl command line tool to accidentally use cookies
without having been told to, since curl switched to using shared cookies
in 7.66.0.

Test 1166 verifies

Updated test 506

Fixes #4429
Closes #4434
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add stderr comparison to the test suite</title>
<updated>2019-02-11T22:00:50+00:00</updated>
<author>
<name>Frank Gevaerts</name>
<email>frank@gevaerts.be</email>
</author>
<published>2019-02-08T09:55:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=35a8fd2886d3352aae672f3e75c497979390570f'/>
<id>35a8fd2886d3352aae672f3e75c497979390570f</id>
<content type='text'>
The code is more or less copied from the stdout comparison code, maybe
some better reuse is possible.

test 1457 is adjusted to make the output actually match (by using --silent)
test 506 used &lt;stderr&gt; without actually needing it, so that &lt;stderr&gt; block is removed

Closes #3536
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code is more or less copied from the stdout comparison code, maybe
some better reuse is possible.

test 1457 is adjusted to make the output actually match (by using --silent)
test 506 used &lt;stderr&gt; without actually needing it, so that &lt;stderr&gt; block is removed

Closes #3536
</pre>
</div>
</content>
</entry>
<entry>
<title>cookies: support creation-time attribute for cookies</title>
<updated>2018-08-31T12:11:37+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
<email>daniel@yesql.se</email>
</author>
<published>2018-08-28T09:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=e2ef8d6fa11b2345e10b89db525920f2a0d5fd79'/>
<id>e2ef8d6fa11b2345e10b89db525920f2a0d5fd79</id>
<content type='text'>
According to RFC6265 section 5.4, cookies with equal path lengths
SHOULD be sorted by creation-time (earlier first). This adds a
creation-time record to the cookie struct in order to make cookie
sorting more deterministic. The creation-time is defined as the
order of the cookies in the jar, the first cookie read fro the
jar being the oldest. The creation-time is thus not serialized
into the jar. Also remove the strcmp() matching in the sorting as
there is no lexicographic ordering in RFC6265. Existing tests are
updated to match.

Closes #2524
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to RFC6265 section 5.4, cookies with equal path lengths
SHOULD be sorted by creation-time (earlier first). This adds a
creation-time record to the cookie struct in order to make cookie
sorting more deterministic. The creation-time is defined as the
order of the cookies in the jar, the first cookie read fro the
jar being the oldest. The creation-time is thus not serialized
into the jar. Also remove the strcmp() matching in the sorting as
there is no lexicographic ordering in RFC6265. Existing tests are
updated to match.

Closes #2524
</pre>
</div>
</content>
</entry>
<entry>
<title>multi_done: prune DNS cache</title>
<updated>2017-12-10T13:51:47+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-12-09T22:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=e959f16c5fc17031e13e87732ef3848e1a7a2c2f'/>
<id>e959f16c5fc17031e13e87732ef3848e1a7a2c2f</id>
<content type='text'>
Prune the DNS cache immediately after the dns entry is unlocked in
multi_done. Timed out entries will then get discarded in a more orderly
fashion.

Test506 is updated

Reported-by: Oleg Pudeyev

Fixes #2169
Closes #2170
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prune the DNS cache immediately after the dns entry is unlocked in
multi_done. Timed out entries will then get discarded in a more orderly
fashion.

Test506 is updated

Reported-by: Oleg Pudeyev

Fixes #2169
Closes #2170
</pre>
</div>
</content>
</entry>
<entry>
<title>cookies: use lock when using CURLINFO_COOKIELIST</title>
<updated>2017-09-19T21:48:48+00:00</updated>
<author>
<name>Pavel P</name>
<email>pavlov.pavel@gmail.com</email>
</author>
<published>2017-09-18T22:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=5fe85587ccd2d3365540cd652e6a3bb1b0393f3a'/>
<id>5fe85587ccd2d3365540cd652e6a3bb1b0393f3a</id>
<content type='text'>
Closes #1896
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1896
</pre>
</div>
</content>
</entry>
<entry>
<title>test506: skip if threaded-resolver</title>
<updated>2017-07-06T09:49:50+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-07-06T09:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=23b828b78b1ea347e80039c9b3100ddcf5793cb0'/>
<id>23b828b78b1ea347e80039c9b3100ddcf5793cb0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cookies: same domain handling changed to match browser behavior</title>
<updated>2016-10-03T14:49:35+00:00</updated>
<author>
<name>Sergei Kuzmin</name>
<email>sergeikuzmin@gmail.com</email>
</author>
<published>2016-10-03T04:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=54e48b14e1ecf399149b137bb741cf84a73b1f32'/>
<id>54e48b14e1ecf399149b137bb741cf84a73b1f32</id>
<content type='text'>
Cokie with the same domain but different tailmatching property are now
considered different and do not replace each other.  If header contains
following lines then two cookies will be set: Set-Cookie: foo=bar;
domain=.foo.com; expires=Thu Mar 3 GMT 8:56:27 2033 Set-Cookie: foo=baz;
domain=foo.com; expires=Thu Mar 3 GMT 8:56:27 2033

This matches Chrome, Opera, Safari, and Firefox behavior. When sending
stored tokens to foo.com Chrome, Opera, Firefox store send them in the
stored order, while Safari pre-sort the cookies.

Closes #1050
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cokie with the same domain but different tailmatching property are now
considered different and do not replace each other.  If header contains
following lines then two cookies will be set: Set-Cookie: foo=bar;
domain=.foo.com; expires=Thu Mar 3 GMT 8:56:27 2033 Set-Cookie: foo=baz;
domain=foo.com; expires=Thu Mar 3 GMT 8:56:27 2033

This matches Chrome, Opera, Safari, and Firefox behavior. When sending
stored tokens to foo.com Chrome, Opera, Firefox store send them in the
stored order, while Safari pre-sort the cookies.

Closes #1050
</pre>
</div>
</content>
</entry>
<entry>
<title>URLs: change all http:// URLs to https://</title>
<updated>2016-02-02T23:19:02+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2016-02-02T23:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=4af40b3646d3b09f68e419f7ca866ff395d1f897'/>
<id>4af40b3646d3b09f68e419f7ca866ff395d1f897</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CURLOPT_COOKIELIST: Added "RELOAD" command</title>
<updated>2014-09-25T14:28:17+00:00</updated>
<author>
<name>Yousuke Kimoto</name>
<email>yousuke.kimoto@gmail.com</email>
</author>
<published>2014-09-25T14:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=b10a838a7add072b88ab87c203361d655caa077b'/>
<id>b10a838a7add072b88ab87c203361d655caa077b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test506: verify aa6884845168</title>
<updated>2014-07-15T22:09:58+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2014-07-15T22:09:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=4cb2521595ac557d3b94c48ef21a184fbed80d3c'/>
<id>4cb2521595ac557d3b94c48ef21a184fbed80d3c</id>
<content type='text'>
After the fixed cookie lock deadlock, this test now passes and it
detects double-locking and double-unlocking of mutexes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the fixed cookie lock deadlock, this test now passes and it
detects double-locking and double-unlocking of mutexes.
</pre>
</div>
</content>
</entry>
</feed>
