<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/src/tool_writeout.c, branch bagder/configure-dis-https-proxy</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>tool_writeout: protect fputs() from NULL</title>
<updated>2020-09-15T20:52:51+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-09-15T13:53:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0b4c4145aac87047513e30a348e63fde96da892d'/>
<id>0b4c4145aac87047513e30a348e63fde96da892d</id>
<content type='text'>
When the code was changed to do fputs() instead of fprintf() it got
sensitive for NULL pointers; add checks for that.

Follow-up from 0c1e767e83ec66

Closes #5963
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the code was changed to do fputs() instead of fprintf() it got
sensitive for NULL pointers; add checks for that.

Follow-up from 0c1e767e83ec66

Closes #5963
</pre>
</div>
</content>
</entry>
<entry>
<title>tool_writeout: add new writeout variable, %{num_headers}</title>
<updated>2020-09-14T22:37:08+00:00</updated>
<author>
<name>anio</name>
<email>anio@users.noreply.github.com</email>
</author>
<published>2020-09-09T15:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0c1e767e83ec669d213868db8887e19386f717b2'/>
<id>0c1e767e83ec669d213868db8887e19386f717b2</id>
<content type='text'>
This variable gives the number of headers.

Closes #5947
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This variable gives the number of headers.

Closes #5947
</pre>
</div>
</content>
</entry>
<entry>
<title>curl: add %{method} to the -w variables</title>
<updated>2020-07-14T15:53:45+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-07-13T07:58:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=f5e6907d5232ca9c05cb8a0b99d809590ddcde18'/>
<id>f5e6907d5232ca9c05cb8a0b99d809590ddcde18</id>
<content type='text'>
Gets the CURLINFO_EFFECTIVE_METHOD from libcurl.

Added test 1197 to verify.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gets the CURLINFO_EFFECTIVE_METHOD from libcurl.

Added test 1197 to verify.
</pre>
</div>
</content>
</entry>
<entry>
<title>terminology: call them null-terminated strings</title>
<updated>2020-06-27T22:31:24+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-06-25T09:38:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=032e838b73578e9a5e8d2cf2ca0f5f2097006060'/>
<id>032e838b73578e9a5e8d2cf2ca0f5f2097006060</id>
<content type='text'>
Updated terminology in docs, comments and phrases to refer to C strings
as "null-terminated". Done to unify with how most other C oriented docs
refer of them and what users in general seem to prefer (based on a
single highly unscientific poll on twitter).

Reported-by: coinhubs on github
Fixes #5598
Closes #5608
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated terminology in docs, comments and phrases to refer to C strings
as "null-terminated". Done to unify with how most other C oriented docs
refer of them and what users in general seem to prefer (based on a
single highly unscientific poll on twitter).

Reported-by: coinhubs on github
Fixes #5598
Closes #5608
</pre>
</div>
</content>
</entry>
<entry>
<title>writeout_json: Fix data type issues</title>
<updated>2020-03-27T22:32:25+00:00</updated>
<author>
<name>Michael Kaufmann</name>
<email>mail@michael-kaufmann.ch</email>
</author>
<published>2020-03-26T22:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=884de1a763af186984cbcbe7b35b551c06025284'/>
<id>884de1a763af186984cbcbe7b35b551c06025284</id>
<content type='text'>
Load long values correctly (e.g. for http_code).

Use curl_off_t (not long) for:
- size_download (CURLINFO_SIZE_DOWNLOAD_T)
- size_upload (CURLINFO_SIZE_UPLOAD_T)

The unit for these values is bytes/second, not microseconds:
- speed_download (CURLINFO_SPEED_DOWNLOAD_T)
- speed_upload (CURLINFO_SPEED_UPLOAD_T)

Fixes #5131
Closes #5152
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Load long values correctly (e.g. for http_code).

Use curl_off_t (not long) for:
- size_download (CURLINFO_SIZE_DOWNLOAD_T)
- size_upload (CURLINFO_SIZE_UPLOAD_T)

The unit for these values is bytes/second, not microseconds:
- speed_download (CURLINFO_SPEED_DOWNLOAD_T)
- speed_upload (CURLINFO_SPEED_UPLOAD_T)

Fixes #5131
Closes #5152
</pre>
</div>
</content>
</entry>
<entry>
<title>writeout: support to generate JSON output</title>
<updated>2020-03-17T14:01:28+00:00</updated>
<author>
<name>Mathias Gumz</name>
<email>mg@2hoch5.com</email>
</author>
<published>2020-02-01T17:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=04c03416e68fd635a15cae8201872f5c29fdcca8'/>
<id>04c03416e68fd635a15cae8201872f5c29fdcca8</id>
<content type='text'>
This commit adds support to generate JSON via the writeout feature:

    -w "%{json}"

It leverages the existing infrastructure as much as possible. Thus,
generating the JSON on STDERR is possible by:

    -w "%{stderr}%{json}"

This implements a variant of
https://github.com/curl/curl/wiki/JSON#--write-out-json.

Closes #4870
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds support to generate JSON via the writeout feature:

    -w "%{json}"

It leverages the existing infrastructure as much as possible. Thus,
generating the JSON on STDERR is possible by:

    -w "%{stderr}%{json}"

This implements a variant of
https://github.com/curl/curl/wiki/JSON#--write-out-json.

Closes #4870
</pre>
</div>
</content>
</entry>
<entry>
<title>curl: have -w's 'http_version' show '3' for HTTP/3</title>
<updated>2019-08-07T10:51:52+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-08-07T07:52:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=eb63b27b6b76ccdb712d0bd4d00d779f658a6390'/>
<id>eb63b27b6b76ccdb712d0bd4d00d779f658a6390</id>
<content type='text'>
Closes #4196
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4196
</pre>
</div>
</content>
</entry>
<entry>
<title>curl: correct the switch() logic in ourWriteOut</title>
<updated>2018-11-07T10:15:20+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-11-07T10:14:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=bda4ef417a00c91e3a7829fdba4b0968dd62e497'/>
<id>bda4ef417a00c91e3a7829fdba4b0968dd62e497</id>
<content type='text'>
Follow-up to e431daf013, as I did the wrong correction for a compiler
warning. It should be a break and not a fall-through.

Pointed-out-by: Frank Gevaerts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to e431daf013, as I did the wrong correction for a compiler
warning. It should be a break and not a fall-through.

Pointed-out-by: Frank Gevaerts
</pre>
</div>
</content>
</entry>
<entry>
<title>curl: add %{stderr} and %{stdout} for --write-out</title>
<updated>2018-11-07T10:09:55+00:00</updated>
<author>
<name>Frank Gevaerts</name>
<email>frank@gevaerts.be</email>
</author>
<published>2018-10-08T21:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e431daf013ea04cb1a988a2009d820224ef5fb79'/>
<id>e431daf013ea04cb1a988a2009d820224ef5fb79</id>
<content type='text'>
Closes #3115
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #3115
</pre>
</div>
</content>
</entry>
<entry>
<title>cppcheck: fix warnings</title>
<updated>2018-06-11T09:14:48+00:00</updated>
<author>
<name>Marian Klymov</name>
<email>nekto1989@gmail.com</email>
</author>
<published>2018-06-02T20:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=c45360d4633850839bb9c2d77dbf8a8285e9ad49'/>
<id>c45360d4633850839bb9c2d77dbf8a8285e9ad49</id>
<content type='text'>
- Get rid of variable that was generating false positive warning
(unitialized)

- Fix issues in tests

- Reduce scope of several variables all over

etc

Closes #2631
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Get rid of variable that was generating false positive warning
(unitialized)

- Fix issues in tests

- Reduce scope of several variables all over

etc

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