<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/tests/data/test540, branch master</title>
<subtitle>cURL mirror with patches applied
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/'/>
<entry>
<title>tests: use proxy feature</title>
<updated>2019-10-15T05:56:55+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2019-10-14T20:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=476eb88171982a967c35e18d4439de3a848fc916'/>
<id>476eb88171982a967c35e18d4439de3a848fc916</id>
<content type='text'>
This makes the tests succeed when using --disable-proxy.

Closes https://github.com/curl/curl/pull/4488
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the tests succeed when using --disable-proxy.

Closes https://github.com/curl/curl/pull/4488
</pre>
</div>
</content>
</entry>
<entry>
<title>http: Fix proxy connection reuse with basic-auth</title>
<updated>2017-03-28T07:54:43+00:00</updated>
<author>
<name>Isaac Boukris</name>
<email>iboukris@gmail.com</email>
</author>
<published>2017-03-23T19:28:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=7975d10cf8a3fe9b35867509b9ef10d06614eb3a'/>
<id>7975d10cf8a3fe9b35867509b9ef10d06614eb3a</id>
<content type='text'>
When using basic-auth, connections and proxy connections
can be re-used with different Authorization headers since
it does not authenticate the connection (like NTLM does).

For instance, the below command should re-use the proxy
connection, but it currently doesn't:
curl -v -U alice:a -x http://localhost:8181 http://localhost/
  --next -U bob:b -x http://localhost:8181 http://localhost/

This is a regression since refactoring of ConnectionExists()
as part of: cb4e2be7c6d42ca0780f8e0a747cecf9ba45f151

Fix the above by removing the username and password compare
when re-using proxy connection at proxy_info_matches().

However, this fix brings back another bug would make curl
to re-print the old proxy-authorization header of previous
proxy basic-auth connection because it wasn't cleared.

For instance, in the below command the second request should
fail if the proxy requires authentication, but would succeed
after the above fix (and before aforementioned commit):
curl -v -U alice:a -x http://localhost:8181 http://localhost/
  --next -x http://localhost:8181 http://localhost/

Fix this by clearing conn-&gt;allocptr.proxyuserpwd after use
unconditionally, same as we do for conn-&gt;allocptr.userpwd.

Also fix test 540 to not expect digest auth header to be
resent when connection is reused.

Signed-off-by: Isaac Boukris &lt;iboukris@gmail.com&gt;

Closes https://github.com/curl/curl/pull/1350
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using basic-auth, connections and proxy connections
can be re-used with different Authorization headers since
it does not authenticate the connection (like NTLM does).

For instance, the below command should re-use the proxy
connection, but it currently doesn't:
curl -v -U alice:a -x http://localhost:8181 http://localhost/
  --next -U bob:b -x http://localhost:8181 http://localhost/

This is a regression since refactoring of ConnectionExists()
as part of: cb4e2be7c6d42ca0780f8e0a747cecf9ba45f151

Fix the above by removing the username and password compare
when re-using proxy connection at proxy_info_matches().

However, this fix brings back another bug would make curl
to re-print the old proxy-authorization header of previous
proxy basic-auth connection because it wasn't cleared.

For instance, in the below command the second request should
fail if the proxy requires authentication, but would succeed
after the above fix (and before aforementioned commit):
curl -v -U alice:a -x http://localhost:8181 http://localhost/
  --next -x http://localhost:8181 http://localhost/

Fix this by clearing conn-&gt;allocptr.proxyuserpwd after use
unconditionally, same as we do for conn-&gt;allocptr.userpwd.

Also fix test 540 to not expect digest auth header to be
resent when connection is reused.

Signed-off-by: Isaac Boukris &lt;iboukris@gmail.com&gt;

Closes https://github.com/curl/curl/pull/1350
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Proxy-Connection: stop sending this header by default"</title>
<updated>2016-08-16T06:36:04+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2016-08-16T06:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=93b0d907d57453b481cd9aa15bd258942e4dd34e'/>
<id>93b0d907d57453b481cd9aa15bd258942e4dd34e</id>
<content type='text'>
This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.
</pre>
</div>
</content>
</entry>
<entry>
<title>Proxy-Connection: stop sending this header by default</title>
<updated>2016-02-08T10:09:40+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2016-02-04T14:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=113f04e664b16b944e64498a73a4dab990fe9a68'/>
<id>113f04e664b16b944e64498a73a4dab990fe9a68</id>
<content type='text'>
RFC 7230 says we should stop. Firefox already stopped.

Bug: https://github.com/curl/curl/issues/633
Reported-By: Brad Fitzpatrick

Closes #633
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC 7230 says we should stop. Firefox already stopped.

Bug: https://github.com/curl/curl/issues/633
Reported-By: Brad Fitzpatrick

Closes #633
</pre>
</div>
</content>
</entry>
<entry>
<title>http: always send Host: header as first header</title>
<updated>2015-03-12T11:15:24+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2015-03-11T23:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=a5d994941c2b19a3c63402caa064c9683647de05'/>
<id>a5d994941c2b19a3c63402caa064c9683647de05</id>
<content type='text'>
...after the method line:

 "Since the Host field-value is critical information for handling a
 request, a user agent SHOULD generate Host as the first header field
 following the request-line." / RFC 7230 section 5.4

Additionally, this will also make libcurl ignore multiple specified
custom Host: headers and only use the first one. Test 1121 has been
updated accordingly

Bug: http://curl.haxx.se/bug/view.cgi?id=1491
Reported-by: Rainer Canavan
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
...after the method line:

 "Since the Host field-value is critical information for handling a
 request, a user agent SHOULD generate Host as the first header field
 following the request-line." / RFC 7230 section 5.4

Additionally, this will also make libcurl ignore multiple specified
custom Host: headers and only use the first one. Test 1121 has been
updated accordingly

Bug: http://curl.haxx.se/bug/view.cgi?id=1491
Reported-by: Rainer Canavan
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Don't run HTTP digest tests for SSPI based builds</title>
<updated>2014-11-06T20:36:08+00:00</updated>
<author>
<name>Steve Holme</name>
<email>steve_holme@hotmail.com</email>
</author>
<published>2014-11-06T19:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=b5c496f1090ab8a8c535acde33af61f197bd99ba'/>
<id>b5c496f1090ab8a8c535acde33af61f197bd99ba</id>
<content type='text'>
Added !SSPI to the features list of the HTTP digest tests, as SSPI
based builds now use the Windows SSPI messaging API rather than the
internal functions, and we can't control the random numbers that get
used as part of the digest.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added !SSPI to the features list of the HTTP digest tests, as SSPI
based builds now use the Windows SSPI messaging API rather than the
internal functions, and we can't control the random numbers that get
used as part of the digest.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: phase out haxx.se</title>
<updated>2011-03-09T22:05:44+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2011-03-09T22:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=08221e738d109059b99f7272cd3964cff88a99e3'/>
<id>08221e738d109059b99f7272cd3964cff88a99e3</id>
<content type='text'>
Instead of using haxx.se as a fixed magic host name in lots of tests,
this is a first step to move toward the generic example.com host
instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using haxx.se as a fixed magic host name in lots of tests,
this is a first step to move toward the generic example.com host
instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed host name to be under the haxx.se domain</title>
<updated>2009-05-08T15:49:19+00:00</updated>
<author>
<name>Yang Tse</name>
<email>yangsita@gmail.com</email>
</author>
<published>2009-05-08T15:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=31baaf72b424edf62dfc338afefb046fcbb1b5ac'/>
<id>31baaf72b424edf62dfc338afefb046fcbb1b5ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is</title>
<updated>2008-11-19T22:00:14+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2008-11-19T22:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=40e8b4e5277c7ad726b50ec904fa573b656184b3'/>
<id>40e8b4e5277c7ad726b50ec904fa573b656184b3</id>
<content type='text'>
  used. It has been used since forever but it was never a good idea to use
  unless explicitly asked for.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  used. It has been used since forever but it was never a good idea to use
  unless explicitly asked for.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added some &lt;keywords&gt; sections and use some key words more consistently.</title>
<updated>2007-10-12T01:44:22+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>dan@coneharvesters.com</email>
</author>
<published>2007-10-12T01:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=d7fbe07ee24f2bf1e0f158577a7c995426ef9958'/>
<id>d7fbe07ee24f2bf1e0f158577a7c995426ef9958</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
