<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git, branch bagder/test-checksrc</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>fixup test more checks</title>
<updated>2021-10-18T11:13:04+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-18T11:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=97ef1c0693a925d398d32298f4a2bc8f33a17550'/>
<id>97ef1c0693a925d398d32298f4a2bc8f33a17550</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: improve the SPACESEMICOLON error message</title>
<updated>2021-10-18T08:59:47+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-18T08:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=46449750b607e7bcbcc9d809a33152b1acce320c'/>
<id>46449750b607e7bcbcc9d809a33152b1acce320c</id>
<content type='text'>
and adjust the MULTISPACE one to use plural
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and adjust the MULTISPACE one to use plural
</pre>
</div>
</content>
</entry>
<entry>
<title>test1185: verify checksrc</title>
<updated>2021-10-17T22:16:50+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-17T22:16:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=68c5e3c555f35ef93147f0356894ea9908b58d3f'/>
<id>68c5e3c555f35ef93147f0356894ea9908b58d3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: ignore preprocessor lines</title>
<updated>2021-10-17T09:19:49+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-16T11:50:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=53418dbc847c9a78d79ee81b702770a0efe9cf22'/>
<id>53418dbc847c9a78d79ee81b702770a0efe9cf22</id>
<content type='text'>
In order to check the actual code better, checksrc now ignores
everything that look like preprocessor instructions. It also means
that code in macros are now longer checked.

Note that some rules then still don't need to be followed when code is
exactly below a cpp instruction.

Removes two checksrc exceptions we needed previously because of
preprocessor lines being checked.

Reported-by: Marcel Raad
Fixes #7863
Closes #7864
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to check the actual code better, checksrc now ignores
everything that look like preprocessor instructions. It also means
that code in macros are now longer checked.

Note that some rules then still don't need to be followed when code is
exactly below a cpp instruction.

Removes two checksrc exceptions we needed previously because of
preprocessor lines being checked.

Reported-by: Marcel Raad
Fixes #7863
Closes #7864
</pre>
</div>
</content>
</entry>
<entry>
<title>urlapi: skip a strlen(), pass in zero</title>
<updated>2021-10-15T21:22:14+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-15T14:29:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=efffa66f655c04747e14cd734fce7fcb9626c413'/>
<id>efffa66f655c04747e14cd734fce7fcb9626c413</id>
<content type='text'>
... to let curl_easy_escape() itself do the strlen. This avoids a (false
positive) Coverity warning and it avoids us having to store the strlen()
return value in an int variable.

Reviewed-by: Daniel Gustafsson
Closes #7862
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... to let curl_easy_escape() itself do the strlen. This avoids a (false
positive) Coverity warning and it avoids us having to store the strlen()
return value in an int variable.

Reviewed-by: Daniel Gustafsson
Closes #7862
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: update copyright years</title>
<updated>2021-10-15T15:07:19+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-15T15:07:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=ccb466fd36b7a931b005a6d8124c4fbc322a16c7'/>
<id>ccb466fd36b7a931b005a6d8124c4fbc322a16c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/htmltidy: correct wrong printf() use</title>
<updated>2021-10-15T08:00:11+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-15T06:02:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=b75045aa12a96411649a16b4703c4293ff7c16bd'/>
<id>b75045aa12a96411649a16b4703c4293ff7c16bd</id>
<content type='text'>
... and update the includes to match how current htmltidy wants them
used.

Reported-by: Stathis Kapnidis
Fixes #7860
Closes #7861
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and update the includes to match how current htmltidy wants them
used.

Reported-by: Stathis Kapnidis
Fixes #7860
Closes #7861
</pre>
</div>
</content>
</entry>
<entry>
<title>http: set content length earlier</title>
<updated>2021-10-15T07:40:16+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2021-10-01T17:57:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=b1d08d295f0e5035f9772654533f3caab64dd8c7'/>
<id>b1d08d295f0e5035f9772654533f3caab64dd8c7</id>
<content type='text'>
- Make content length (ie download size) accessible to the user in the
  header callback, but only after all headers have been processed (ie
  only in the final call to the header callback).

Background:

For a long time the content length could be retrieved in the header
callback via CURLINFO_CONTENT_LENGTH_DOWNLOAD_T as soon as it was parsed
by curl.

Changes were made in 8a16e54 (precedes 7.79.0) to ignore content length
if any transfer encoding is used. A side effect of that was that
content length was not set by libcurl until after the header callback
was called the final time, because until all headers are processed it
cannot be determined if content length is valid.

This change keeps the same intention --all headers must be processed--
but now the content length is available before the final call to the
header function that indicates all headers have been processed (ie
a blank header).

Bug: https://github.com/curl/curl/commit/8a16e54#r57374914
Reported-by: sergio-nsk@users.noreply.github.com

Co-authored-by: Daniel Stenberg

Fixes https://github.com/curl/curl/issues/7804
Closes https://github.com/curl/curl/pull/7803
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Make content length (ie download size) accessible to the user in the
  header callback, but only after all headers have been processed (ie
  only in the final call to the header callback).

Background:

For a long time the content length could be retrieved in the header
callback via CURLINFO_CONTENT_LENGTH_DOWNLOAD_T as soon as it was parsed
by curl.

Changes were made in 8a16e54 (precedes 7.79.0) to ignore content length
if any transfer encoding is used. A side effect of that was that
content length was not set by libcurl until after the header callback
was called the final time, because until all headers are processed it
cannot be determined if content length is valid.

This change keeps the same intention --all headers must be processed--
but now the content length is available before the final call to the
header function that indicates all headers have been processed (ie
a blank header).

Bug: https://github.com/curl/curl/commit/8a16e54#r57374914
Reported-by: sergio-nsk@users.noreply.github.com

Co-authored-by: Daniel Stenberg

Fixes https://github.com/curl/curl/issues/7804
Closes https://github.com/curl/curl/pull/7803
</pre>
</div>
</content>
</entry>
<entry>
<title>aws-sigv4: make signature work when post data is binary</title>
<updated>2021-10-15T06:46:23+00:00</updated>
<author>
<name>Abhinav Singh</name>
<email>theawless@gmail.com</email>
</author>
<published>2021-10-12T10:02:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8c6f126279f8abddf76661d0b404162c15bcc2c2'/>
<id>8c6f126279f8abddf76661d0b404162c15bcc2c2</id>
<content type='text'>
User sets the post fields size for binary data.  Hence, we should not be
using strlen on it.

Added test 1937 and 1938 to verify.

Closes #7844
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
User sets the post fields size for binary data.  Hence, we should not be
using strlen on it.

Added test 1937 and 1938 to verify.

Closes #7844
</pre>
</div>
</content>
</entry>
<entry>
<title>MacOSX-Framework: remove redundant ';'</title>
<updated>2021-10-15T06:08:14+00:00</updated>
<author>
<name>a1346054</name>
<email>36859588+a1346054@users.noreply.github.com</email>
</author>
<published>2021-09-19T13:04:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7759552b80c1b818454f8888b81eee23846294c9'/>
<id>7759552b80c1b818454f8888b81eee23846294c9</id>
<content type='text'>
Closes #7859
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #7859
</pre>
</div>
</content>
</entry>
</feed>
