<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git, branch Jelinski/buffer-tuning-under-Windows</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>windows: implement send buffer tuning</title>
<updated>2018-07-24T08:15:31+00:00</updated>
<author>
<name>Daniel Jelinski</name>
<email>daniel.jelinski@thomsonreuters.com</email>
</author>
<published>2018-07-19T12:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=27bdfb3f7be0fdba0a9f0a3b8db319280934fd5b'/>
<id>27bdfb3f7be0fdba0a9f0a3b8db319280934fd5b</id>
<content type='text'>
Bug: https://curl.haxx.se/mail/lib-2018-07/0080.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://curl.haxx.se/mail/lib-2018-07/0080.html
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: pick Bearer authentication whenever a token is available</title>
<updated>2018-07-24T08:11:49+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2018-07-20T16:17:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6f5ef24f068a86d0f61ce39f674462128c1743d1'/>
<id>6f5ef24f068a86d0f61ce39f674462128c1743d1</id>
<content type='text'>
So far, the code tries to pick an authentication method only if
user/password credentials are available, which is not the case for
Bearer authentictation...

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Closes #2754
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So far, the code tries to pick an authentication method only if
user/password credentials are available, which is not the case for
Bearer authentictation...

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Closes #2754
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: only ever pick CURLAUTH_BEARER if we *have* a Bearer token</title>
<updated>2018-07-24T08:11:25+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2018-07-17T12:52:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=df57b439f4cfd594bde29055e7258607056985dc'/>
<id>df57b439f4cfd594bde29055e7258607056985dc</id>
<content type='text'>
The Bearer authentication was added to cURL 7.61.0, but there is a
problem: if CURLAUTH_ANY is selected, and the server supports multiple
authentication methods including the Bearer method, we strongly prefer
that latter method (only CURLAUTH_NEGOTIATE beats it), and if the Bearer
authentication fails, we will never even try to attempt any other
method.

This is particularly unfortunate when we already know that we do not
have any Bearer token to work with.

Such a scenario happens e.g. when using Git to push to Visual Studio
Team Services (which supports Basic and Bearer authentication among
other methods) and specifying the Personal Access Token directly in the
URL (this aproach is frequently taken by automated builds).

Let's make sure that we have a Bearer token to work with before we
select the Bearer authentication among the available authentication
methods.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Closes #2754
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Bearer authentication was added to cURL 7.61.0, but there is a
problem: if CURLAUTH_ANY is selected, and the server supports multiple
authentication methods including the Bearer method, we strongly prefer
that latter method (only CURLAUTH_NEGOTIATE beats it), and if the Bearer
authentication fails, we will never even try to attempt any other
method.

This is particularly unfortunate when we already know that we do not
have any Bearer token to work with.

Such a scenario happens e.g. when using Git to push to Visual Studio
Team Services (which supports Basic and Bearer authentication among
other methods) and specifying the Personal Access Token directly in the
URL (this aproach is frequently taken by automated builds).

Let's make sure that we have a Bearer token to work with before we
select the Bearer authentication among the available authentication
methods.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Closes #2754
</pre>
</div>
</content>
</entry>
<entry>
<title>test320: treat curl320.out file as binary</title>
<updated>2018-07-22T21:17:06+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-07-22T08:09:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=26e35844e776e601aead505e37e5c6c8e1a41cf3'/>
<id>26e35844e776e601aead505e37e5c6c8e1a41cf3</id>
<content type='text'>
Otherwise, LF line endings are converted to CRLF on Windows,
but no conversion is done for the reply, so the test case fails.

Closes https://github.com/curl/curl/pull/2776
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, LF line endings are converted to CRLF on Windows,
but no conversion is done for the reply, so the test case fails.

Closes https://github.com/curl/curl/pull/2776
</pre>
</div>
</content>
</entry>
<entry>
<title>vtls: set conn-&gt;data when closing TLS</title>
<updated>2018-07-22T19:17:27+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-07-20T21:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=81377cace6a047308008d36740042231d6c7d122'/>
<id>81377cace6a047308008d36740042231d6c7d122</id>
<content type='text'>
Follow-up to 1b76c38904f0. The VTLS backends that close down the TLS
layer for a connection still needs a Curl_easy handle for the session_id
cache etc.

Fixes #2764
Closes #2771
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to 1b76c38904f0. The VTLS backends that close down the TLS
layer for a connection still needs a Curl_easy handle for the session_id
cache etc.

Fixes #2764
Closes #2771
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fixes for Windows line endlings</title>
<updated>2018-07-21T18:47:42+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-07-21T10:24:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6d13432bfa1097da7efb4a5fffac27a22af2002c'/>
<id>6d13432bfa1097da7efb4a5fffac27a22af2002c</id>
<content type='text'>
Set mode="text" when line endings depend on the system representation.

Closes https://github.com/curl/curl/pull/2772
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set mode="text" when line endings depend on the system representation.

Closes https://github.com/curl/curl/pull/2772
</pre>
</div>
</content>
</entry>
<entry>
<title>test214: disable MSYS2's POSIX path conversion for URL</title>
<updated>2018-07-21T09:31:03+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-07-21T09:27:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=1550e844b1a037022acf87e52585c2f4c15f045a'/>
<id>1550e844b1a037022acf87e52585c2f4c15f045a</id>
<content type='text'>
By default, the MSYS2 bash converts all backslashes to forward slashes
in URLs. Disable this with MSYS2_ARG_CONV_EXCL for the test to pass.

Ref https://github.com/msys2/msys2/wiki/Porting#filesystem-namespaces
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default, the MSYS2 bash converts all backslashes to forward slashes
in URLs. Disable this with MSYS2_ARG_CONV_EXCL for the test to pass.

Ref https://github.com/msys2/msys2/wiki/Porting#filesystem-namespaces
</pre>
</div>
</content>
</entry>
<entry>
<title>http2: several cleanups</title>
<updated>2018-07-20T20:58:42+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-07-16T22:29:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7b9bc96c7716f34dbd1f525aefb77d74b8b0f528'/>
<id>7b9bc96c7716f34dbd1f525aefb77d74b8b0f528</id>
<content type='text'>
- separate easy handle from connections better
- added asserts on a number of places
- added sanity check of pipelines for debug builds

Closes #2751
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- separate easy handle from connections better
- added asserts on a number of places
- added sanity check of pipelines for debug builds

Closes #2751
</pre>
</div>
</content>
</entry>
<entry>
<title>smb_getsock: always wait for write socket too</title>
<updated>2018-07-20T20:53:06+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-07-19T22:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=73af7bcd617a8c0312bd8a083daa5a8fad2c794e'/>
<id>73af7bcd617a8c0312bd8a083daa5a8fad2c794e</id>
<content type='text'>
... the protocol is doing read/write a lot, so it needs to write often
even when downloading. A more proper fix could check for eactly when it
wants to write and only ask for it then.

Without this fix, an SMB download could easily get stuck when the event-driven
API was used.

Closes #2768
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... the protocol is doing read/write a lot, so it needs to write often
even when downloading. A more proper fix could check for eactly when it
wants to write and only ask for it then.

Without this fix, an SMB download could easily get stuck when the event-driven
API was used.

Closes #2768
</pre>
</div>
</content>
</entry>
<entry>
<title>test1143: disable MSYS2's POSIX path conversion</title>
<updated>2018-07-20T14:08:58+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-07-20T09:00:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7bc118043749d3a533e16b45269446a1edbd09d8'/>
<id>7bc118043749d3a533e16b45269446a1edbd09d8</id>
<content type='text'>
By default, the MSYS2 bash interprets http:/%HOSTIP:%HTTPPORT/want/1143
as a POSIX file list and converts it to a Windows file list.
Disable this with MSYS2_ARG_CONV_EXCL for the test to pass.

Ref https://github.com/msys2/msys2/wiki/Porting#filesystem-namespaces
Closes https://github.com/curl/curl/pull/2765
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default, the MSYS2 bash interprets http:/%HOSTIP:%HTTPPORT/want/1143
as a POSIX file list and converts it to a Windows file list.
Disable this with MSYS2_ARG_CONV_EXCL for the test to pass.

Ref https://github.com/msys2/msys2/wiki/Porting#filesystem-namespaces
Closes https://github.com/curl/curl/pull/2765
</pre>
</div>
</content>
</entry>
</feed>
