<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/src/tool_writeout_json.c, branch bagder/https-proxy-tests</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>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_json: use curl_off_t printf() option for the time output</title>
<updated>2020-03-18T22:31:37+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-17T22:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8d9802b0aed12932612847f4267a42d08b7bfa71'/>
<id>8d9802b0aed12932612847f4267a42d08b7bfa71</id>
<content type='text'>
Follow-up to: 04c03416e68fd635a15

Closes #5115
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to: 04c03416e68fd635a15

Closes #5115
</pre>
</div>
</content>
</entry>
<entry>
<title>writeout_json: add missing comma to fix the HTTP version</title>
<updated>2020-03-17T15:05:05+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-17T15:04:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=ab9dc5ae2a86e42bb087986587e68cefdf76531d'/>
<id>ab9dc5ae2a86e42bb087986587e68cefdf76531d</id>
<content type='text'>
Follow-up to 04c03416e68fd635a15
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to 04c03416e68fd635a15
</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>
</feed>
