<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/tests/data/test650, 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>mime: do not perform more than one read in a row</title>
<updated>2020-03-07T22:26:00+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2020-03-07T10:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=1e4cb333ef632bf081045bb7b36f0736bec52708'/>
<id>1e4cb333ef632bf081045bb7b36f0736bec52708</id>
<content type='text'>
Input buffer filling may delay the data sending if data reads are slow.
To overcome this problem, file and callback data reads do not accumulate
in buffer anymore. All other data (memory data and mime framing) are
considered as fast and still concatenated in buffer.
As this may highly impact performance in terms of data overhead, an early
end of part data check is added to spare a read call.
When encoding a part's data, an encoder may require more bytes than made
available by a single read. In this case, the above rule does not apply
and reads are performed until the encoder is able to deliver some data.

Tests 643, 644, 645, 650 and 654 have been adapted to the output data
changes, with test data size reduced to avoid the boredom of long lists of
1-byte chunks in verification data.
New test 667 checks mimepost using single-byte read callback with encoder.
New test 668 checks the end of part data early detection.

Fixes #4826
Reported-by: MrdUkk on github
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Input buffer filling may delay the data sending if data reads are slow.
To overcome this problem, file and callback data reads do not accumulate
in buffer anymore. All other data (memory data and mime framing) are
considered as fast and still concatenated in buffer.
As this may highly impact performance in terms of data overhead, an early
end of part data check is added to spare a read call.
When encoding a part's data, an encoder may require more bytes than made
available by a single read. In this case, the above rule does not apply
and reads are performed until the encoder is able to deliver some data.

Tests 643, 644, 645, 650 and 654 have been adapted to the output data
changes, with test data size reduced to avoid the boredom of long lists of
1-byte chunks in verification data.
New test 667 checks mimepost using single-byte read callback with encoder.
New test 668 checks the end of part data early detection.

Fixes #4826
Reported-by: MrdUkk on github
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "mime: do not perform more than one read in a row"</title>
<updated>2020-03-02T06:42:54+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-02T06:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=d7242f4757de67f02b13fac850c3472598f999ca'/>
<id>d7242f4757de67f02b13fac850c3472598f999ca</id>
<content type='text'>
This reverts commit ed0f357f7d25566110d4302f33759f4ffb5a6f83.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ed0f357f7d25566110d4302f33759f4ffb5a6f83.
</pre>
</div>
</content>
</entry>
<entry>
<title>mime: do not perform more than one read in a row</title>
<updated>2020-03-01T23:00:58+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2020-01-29T04:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=ed0f357f7d25566110d4302f33759f4ffb5a6f83'/>
<id>ed0f357f7d25566110d4302f33759f4ffb5a6f83</id>
<content type='text'>
Input buffer filling may delay the data sending if data reads are slow.
To overcome this problem, file and callback data reads do not accumulate
in buffer anymore. All other data (memory data and mime framing) are
considered as fast and still concatenated in buffer.
As this may highly impact performance in terms of data overhead, an early
end of part data check is added to spare a read call.
When encoding a part's data, an encoder may require more bytes than made
available by a single read. In this case, the above rule does not apply
and reads are performed until the encoder is able to deliver some data.

Tests 643, 644, 645, 650 and 654 have been adapted to the output data
changes, with test data size reduced to avoid the boredom of long lists of
1-byte chunks in verification data.
New test 664 checks mimepost using single-byte read callback with encoder.
New test 665 checks the end of part data early detection.

Fixes #4826
Reported-by: MrdUkk on github
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Input buffer filling may delay the data sending if data reads are slow.
To overcome this problem, file and callback data reads do not accumulate
in buffer anymore. All other data (memory data and mime framing) are
considered as fast and still concatenated in buffer.
As this may highly impact performance in terms of data overhead, an early
end of part data check is added to spare a read call.
When encoding a part's data, an encoder may require more bytes than made
available by a single read. In this case, the above rule does not apply
and reads are performed until the encoder is able to deliver some data.

Tests 643, 644, 645, 650 and 654 have been adapted to the output data
changes, with test data size reduced to avoid the boredom of long lists of
1-byte chunks in verification data.
New test 664 checks mimepost using single-byte read callback with encoder.
New test 665 checks the end of part data early detection.

Fixes #4826
Reported-by: MrdUkk on github
</pre>
</div>
</content>
</entry>
<entry>
<title>mime: keep "text/plain" content type if user-specified.</title>
<updated>2017-10-12T18:36:16+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2017-10-12T18:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=0401734dfd39617a42318295a6e54064b40b2502'/>
<id>0401734dfd39617a42318295a6e54064b40b2502</id>
<content type='text'>
Include test cases in 554, 587, 650.

Fixes https://github.com/curl/curl/issues/1986
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include test cases in 554, 587, 650.

Fixes https://github.com/curl/curl/issues/1986
</pre>
</div>
</content>
</entry>
<entry>
<title>test650: Use variable replacement to set the host address and port</title>
<updated>2017-09-30T00:10:54+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>dan@coneharvesters.com</email>
</author>
<published>2017-09-29T23:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=cecffff561b4cb5707510cfbc0bc41fe0e5b346a'/>
<id>cecffff561b4cb5707510cfbc0bc41fe0e5b346a</id>
<content type='text'>
Otherwise, the test fails when the -b test option is used to set a
different test port range.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, the test fails when the -b test option is used to set a
different test port range.
</pre>
</div>
</content>
</entry>
<entry>
<title>form API: add new test 650.</title>
<updated>2017-09-07T18:11:02+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2017-09-07T18:11:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=3620e569b312476f1e63b298106f942079b5afe8'/>
<id>3620e569b312476f1e63b298106f942079b5afe8</id>
<content type='text'>
Now that the form API is deprecated and not used anymore in curl tool,
a lot of its features left untested. Test 650 attempts to check all these
features not tested elsewhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the form API is deprecated and not used anymore in curl tool,
a lot of its features left untested. Test 650 attempts to check all these
features not tested elsewhere.
</pre>
</div>
</content>
</entry>
</feed>
