<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/urllib3.git/test/with_dummyserver/test_socketlevel.py, branch python-3.10.0b4</title>
<subtitle>github.com: shazow/urllib3.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/'/>
<entry>
<title> Remove python2 compat stuff from test_socketlevel.py  (#2276)</title>
<updated>2021-06-19T11:15:03+00:00</updated>
<author>
<name>Ran Benita</name>
<email>ran@unusedvar.com</email>
</author>
<published>2021-06-19T11:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=cdc0fcfac27fc4b1a2e8a8f692dbb19c94ce3b80'/>
<id>cdc0fcfac27fc4b1a2e8a8f692dbb19c94ce3b80</id>
<content type='text'>
* Reformat imports in test_socketlevel.py

Make the next commit more understandable.

* Remove python2 compat stuff from test_socketlevel.py</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Reformat imports in test_socketlevel.py

Make the next commit more understandable.

* Remove python2 compat stuff from test_socketlevel.py</pre>
</div>
</content>
</entry>
<entry>
<title>Add coverage for all raise branches</title>
<updated>2021-05-22T17:18:27+00:00</updated>
<author>
<name>Bastian Venthur</name>
<email>bastian.venthur@flixbus.com</email>
</author>
<published>2021-05-22T17:18:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=97a16d74f287ce84dcb14aa90bf28c9088579257'/>
<id>97a16d74f287ce84dcb14aa90bf28c9088579257</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Lean on SSLContext to verify hostnames when possible (#2178)</title>
<updated>2021-03-16T15:17:38+00:00</updated>
<author>
<name>Quentin Pradet</name>
<email>quentin@pradet.me</email>
</author>
<published>2021-03-16T15:17:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=7f56f2e7ccdc22faca81f4b41ff7a889e48f3203'/>
<id>7f56f2e7ccdc22faca81f4b41ff7a889e48f3203</id>
<content type='text'>
* Use exact same SNI logic in pyOpenSSL and SecureTransport

It won't make a difference in practice, and avoids useless differences.

* Move "no SNI if IP address" responsibilty to TLS backends

 * The ssl module already avoids SNI when the host is an IP address
 * pyOpenSSL now does that too
 * We were already using SNI on IP addresses with SecureTransport anyway

In other words, this does not change anything, but is cleaner (we no
longer test for SecureTransport in ssl.py) and will allow us to lean on
ssl.SSLContext to match hostnames.

* Stop exposing is_ipaddress as a public

We already have way too much public functions

* Lean on SSLContext to verify hostnames when possible

* Address review comments</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use exact same SNI logic in pyOpenSSL and SecureTransport

It won't make a difference in practice, and avoids useless differences.

* Move "no SNI if IP address" responsibilty to TLS backends

 * The ssl module already avoids SNI when the host is an IP address
 * pyOpenSSL now does that too
 * We were already using SNI on IP addresses with SecureTransport anyway

In other words, this does not change anything, but is cleaner (we no
longer test for SecureTransport in ssl.py) and will allow us to lean on
ssl.SSLContext to match hostnames.

* Stop exposing is_ipaddress as a public

We already have way too much public functions

* Lean on SSLContext to verify hostnames when possible

* Address review comments</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Python 2 branches, HTTPHeaderDict.from_httplib</title>
<updated>2020-11-18T20:50:44+00:00</updated>
<author>
<name>Hasan Ramezani</name>
<email>hasan.r67@gmail.com</email>
</author>
<published>2020-11-18T20:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=897d5aab0d87ea1ab86b240603ee95103eb74fa5'/>
<id>897d5aab0d87ea1ab86b240603ee95103eb74fa5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove support for Python 2 and 3.5</title>
<updated>2020-11-15T15:46:13+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2020-11-10T16:53:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=fbe9620784b130dcdccf43cd3105940152c4d762'/>
<id>fbe9620784b130dcdccf43cd3105940152c4d762</id>
<content type='text'>
- Upgrades syntax to Python 3.6+ with f-strings
- Removes most usage of six
- Removes documentation relevant to Python 2
- Removes universal wheel config
- Removes mock dependency for testing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Upgrades syntax to Python 3.6+ with f-strings
- Removes most usage of six
- Removes documentation relevant to Python 2
- Removes universal wheel config
- Removes mock dependency for testing
</pre>
</div>
</content>
</entry>
<entry>
<title>Terminate connection when custom verification fails (SecureTransport) (#1977)</title>
<updated>2020-11-01T17:45:32+00:00</updated>
<author>
<name>hodbn</name>
<email>hodbn@users.noreply.github.com</email>
</author>
<published>2020-11-01T17:45:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=5eb604ffa2e5304e1019d7111c59bc84583daf3f'/>
<id>5eb604ffa2e5304e1019d7111c59bc84583daf3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix flaky test by avoiding refused connection with short timeout (#2008)</title>
<updated>2020-10-02T12:48:15+00:00</updated>
<author>
<name>Quentin Pradet</name>
<email>quentin.pradet@gmail.com</email>
</author>
<published>2020-10-02T12:48:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=b1f05ae1bf5003961c076e73c02c46b9575bff36'/>
<id>b1f05ae1bf5003961c076e73c02c46b9575bff36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sort imports with 'isort'</title>
<updated>2020-10-01T12:45:14+00:00</updated>
<author>
<name>Quentin Pradet</name>
<email>quentin.pradet@gmail.com</email>
</author>
<published>2020-10-01T12:45:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=dabe77d7d3f69c1b961826dabac28eda86699024'/>
<id>dabe77d7d3f69c1b961826dabac28eda86699024</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use LONG_TIMEOUT on test with disabled retries</title>
<updated>2020-09-18T14:55:54+00:00</updated>
<author>
<name>Quentin Pradet</name>
<email>quentin.pradet@gmail.com</email>
</author>
<published>2020-09-18T14:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=fa9aa58c80f03b1b4a92e522b7f609cb746609e1'/>
<id>fa9aa58c80f03b1b4a92e522b7f609cb746609e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Swallow BrokenPipeError when writing request body</title>
<updated>2020-09-11T14:17:49+00:00</updated>
<author>
<name>Rober Morales-Chaparro</name>
<email>rober.morales@gmail.com</email>
</author>
<published>2020-09-11T14:17:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urllib3.git/commit/?id=e4c43f5178bfef0fbb878fc9b3573ff5fbe4c5ed'/>
<id>e4c43f5178bfef0fbb878fc9b3573ff5fbe4c5ed</id>
<content type='text'>
In the case the server legitimately closes a connection but we are still
sending data (e.g. sending a POST request), the old code prevents the
response to be retrieved.

With this change, we avoid a broken pipe in the request write process
to be able to capture the HTTP response.

Co-authored-by: Rober Morales-Chaparro &lt;rober.morales@gmail.com&gt;
Co-authored-by: Seth Michael Larson &lt;sethmichaellarson@gmail.com&gt;
Co-authored-by: hodbn &lt;hodbn@users.noreply.github.com&gt;
Co-authored-by: Quentin Pradet &lt;quentin.pradet@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case the server legitimately closes a connection but we are still
sending data (e.g. sending a POST request), the old code prevents the
response to be retrieved.

With this change, we avoid a broken pipe in the request write process
to be able to capture the HTTP response.

Co-authored-by: Rober Morales-Chaparro &lt;rober.morales@gmail.com&gt;
Co-authored-by: Seth Michael Larson &lt;sethmichaellarson@gmail.com&gt;
Co-authored-by: hodbn &lt;hodbn@users.noreply.github.com&gt;
Co-authored-by: Quentin Pradet &lt;quentin.pradet@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
