<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/imap.c, branch bagder/ftp-over-httpsproxy</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>pingpong: use a dynbuf for the *_pp_sendf() function</title>
<updated>2020-09-23T13:14:09+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-09-23T07:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=675eeb1c941706070381faaad8ee1a5d75cff4a4'/>
<id>675eeb1c941706070381faaad8ee1a5d75cff4a4</id>
<content type='text'>
... reuses the same dynamic buffer instead of doing repeated malloc/free
cycles.

Test case 100 (FTP dir list PASV) does 7 fewer memory allocation calls
after this change in my test setup (132 =&gt; 125), curl 7.72.0 needed 140
calls for this.

Test case 103 makes 9 less allocations now (130). Down from 149 in
7.72.0.

Closes #6004
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... reuses the same dynamic buffer instead of doing repeated malloc/free
cycles.

Test case 100 (FTP dir list PASV) does 7 fewer memory allocation calls
after this change in my test setup (132 =&gt; 125), curl 7.72.0 needed 140
calls for this.

Test case 103 makes 9 less allocations now (130). Down from 149 in
7.72.0.

Closes #6004
</pre>
</div>
</content>
</entry>
<entry>
<title>Curl_handler: add 'family' to each protocol</title>
<updated>2020-09-21T21:30:16+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-09-21T11:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6434a73984b2527194d6409021693c7032d17570'/>
<id>6434a73984b2527194d6409021693c7032d17570</id>
<content type='text'>
Makes get_protocol_family() faster and it moves the knowledge about the
"families" to each protocol handler, where it belongs.

Closes #5986
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes get_protocol_family() faster and it moves the knowledge about the
"families" to each protocol handler, where it belongs.

Closes #5986
</pre>
</div>
</content>
</entry>
<entry>
<title>imap: set cselect_bits to CURL_CSELECT_IN initially</title>
<updated>2020-09-14T10:29:44+00:00</updated>
<author>
<name>Antarpreet Singh</name>
<email>antarpreet.singh@gmail.com</email>
</author>
<published>2020-05-07T19:20:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=da5ae38db0642dc6f676217a7d77119cda4cce5a'/>
<id>da5ae38db0642dc6f676217a7d77119cda4cce5a</id>
<content type='text'>
... when continuing a transfer from a FETCH response.

When the size of the file was small enough that the entirety of the
transfer happens in a single go and schannel buffers holds the entire
data. However, it wasn't completely read in Curl_pp_readresp since a
line break was found before that could happen. So, by the time we are in
imap_state_fetch_resp - there's data in buffers that needs to be read
via Curl_read but nothing to read from the socket. After we setup a
transfer (Curl_setup_transfer), curl just waits on the socket state to
change - which doesn't happen since no new data ever comes.

Closes #5961
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... when continuing a transfer from a FETCH response.

When the size of the file was small enough that the entirety of the
transfer happens in a single go and schannel buffers holds the entire
data. However, it wasn't completely read in Curl_pp_readresp since a
line break was found before that could happen. So, by the time we are in
imap_state_fetch_resp - there's data in buffers that needs to be read
via Curl_read but nothing to read from the socket. After we setup a
transfer (Curl_setup_transfer), curl just waits on the socket state to
change - which doesn't happen since no new data ever comes.

Closes #5961
</pre>
</div>
</content>
</entry>
<entry>
<title>escape: make the URL decode able to reject only %00 bytes</title>
<updated>2020-06-25T07:57:18+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-06-23T14:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=31e53584db5879894809fbde5445aac7553ac3e2'/>
<id>31e53584db5879894809fbde5445aac7553ac3e2</id>
<content type='text'>
... or all "control codes" or nothing.

Assisted-by: Nicolas Sterchele
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... or all "control codes" or nothing.

Assisted-by: Nicolas Sterchele
</pre>
</div>
</content>
</entry>
<entry>
<title>urldata: connect related booleans live in struct ConnectBits</title>
<updated>2020-05-27T06:02:47+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-26T12:42:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7414fb25a211f08591b80298746afcfad8718894'/>
<id>7414fb25a211f08591b80298746afcfad8718894</id>
<content type='text'>
And remove a few unused booleans!

Closes #5461
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And remove a few unused booleans!

Closes #5461
</pre>
</div>
</content>
</entry>
<entry>
<title>imap: merged two case-branches performing the same action</title>
<updated>2019-09-20T06:07:25+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-09-19T07:52:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=d0390a538aa0ee220e865580f5cede7315c441fd'/>
<id>d0390a538aa0ee220e865580f5cede7315c441fd</id>
<content type='text'>
Fixes warning detected by PVS-Studio
Fixes #4374
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes warning detected by PVS-Studio
Fixes #4374
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup: remove the 'numsocks' argument used in many places</title>
<updated>2019-07-30T21:16:44+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-07-30T09:02:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a55faf33d4b868c8e8173e7aabfe1e286a1a7658'/>
<id>a55faf33d4b868c8e8173e7aabfe1e286a1a7658</id>
<content type='text'>
It was used (intended) to pass in the size of the 'socks' array that is
also passed to these functions, but was rarely actually checked/used and
the array is defined to a fixed size of MAX_SOCKSPEREASYHANDLE entries
that should be used instead.

Closes #4169
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was used (intended) to pass in the size of the 'socks' array that is
also passed to these functions, but was rarely actually checked/used and
the array is defined to a fixed size of MAX_SOCKSPEREASYHANDLE entries
that should be used instead.

Closes #4169
</pre>
</div>
</content>
</entry>
<entry>
<title>build: fix Codacy warnings</title>
<updated>2019-06-05T18:38:06+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2019-05-25T08:06:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e23c52b3295a525fbaae9e7ed3e7061fea6dffc2'/>
<id>e23c52b3295a525fbaae9e7ed3e7061fea6dffc2</id>
<content type='text'>
Reduce variable scopes and remove redundant variable stores.

Closes https://github.com/curl/curl/pull/3975
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce variable scopes and remove redundant variable stores.

Closes https://github.com/curl/curl/pull/3975
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup: remove FIXME and TODO comments</title>
<updated>2019-05-16T07:16:56+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-05-14T14:36:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8ece8177f1e8ed8c76a7a6f3c90a23c5982b4641'/>
<id>8ece8177f1e8ed8c76a7a6f3c90a23c5982b4641</id>
<content type='text'>
They serve very little purpose and mostly just add noise. Most of them
have been around for a very long time. I read them all before removing
or rephrasing them.

Ref: #3876
Closes #3883
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They serve very little purpose and mostly just add noise. Most of them
have been around for a very long time. I read them all before removing
or rephrasing them.

Ref: #3876
Closes #3883
</pre>
</div>
</content>
</entry>
<entry>
<title>imap: Fix typo in comment</title>
<updated>2019-05-14T10:38:23+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
<email>daniel@yesql.se</email>
</author>
<published>2019-05-14T10:38:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=bd91e7f340646c7ba695d44f94c80f6fe66e79df'/>
<id>bd91e7f340646c7ba695d44f94c80f6fe66e79df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
