Pycurl

Latest version: v7.45.3

Safety actively analyzes 629788 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 12

7.43.0.6

-----------------------------------------------------------------

* Fixed offset parameter usage in seek callback (patch by Scott Talbert).

* Added support for libcurl SSL backend detection via
`curl-config --ssl-backends` (patch by Scott Talbert).

* Added support for libcurl MultiSSL (patch by Bo Anderson).

* Added ability to unset CURLOPT_PROXY.

* Added support for CURLOPT_UPLOAD_BUFFERSIZE (patch by Artur Sobierak).

* Added support for CURLOPT_MAXAGE_CONN (patch by Artur Sobierak).

* Added support for sharing connection cache in libcurl (patch by
Artur Sobierak).

* Added support for CURLOPT_HAPROXYPROTOCOL (patch by
Russell McConnachie).

* CC and CFLAGS environment variables are now respected when building
(patch by Michał Górny).

* Fixed OpenSSL detection on CentOS 7 and 8 (patch by Nicolas Pauss).

* surrogateescape error handler is used in multi_info_read to handle
invalid UTF-8.

7.43.0.5

-----------------------------------------------------------------

* Fixed build with recent Pythons on RHEL/CentOS.

7.43.0.4

-----------------------------------------------------------------

* Minimum supported Python 3 version is now 3.5.

* Python 2 is no longer officially supported.

* Improved thread safety of multi code.

* Added Python 3.8 support (patch by Michael Treanor).

* Fixed link order when linking statically against OpenSSL (patch by
Ashley Whetter).

* Fixed Darwin detection.

* Added support for wolfSSL (patch by Eneas U de Queiroz).

* Added PROXY_SSL_VERIFYHOST (patch by Amir Rossert).

7.43.0.3

-----------------------------------------------------------------

* Fixed use with libcurl 7.65+ when FTP support is disabled.

* Added support for mbedTLS (patch by Josef Schlehofer).

* Fixed string processing on Python 3 (patch by Dmitriy Taychenachev).

* Added CURLOPT_TCP_FASTOPEN and CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE
(patch by Khavish Anshudass Bhundoo).

* Repaired inability to install PycURL when libcurl is using an SSL
backend other than the ones PycURL explicitly recognizes and
handles (OpenSSL, LibreSSL, BoringSSL, GnuTLS, NSS).
The requirement for setup.py to detect an SSL backend if libcurl
is configured to use SSL, added in 7.43.0.2, has been changed
to a warning to allow this.

7.43.0.2

-----------------------------------------------------------------

* Official Windows builds now include HTTP 2 support via
libnghttp2 and international domain name support via WINIDN.

* Added perform_rb and perform_rs methods to Curl objects to
return response body as byte string and string, respectively.

* Added OPT_COOKIELIST constant for consistency with other
option constants.

* PycURL is now able to report errors triggered by libcurl
via CURLOPT_FAILONERROR mechanism when the error messages are
not decodable in Python's default encoding (GitHub issue 259).

* Added getinfo_raw method to Curl objects to return byte strings
as is from libcurl without attempting to decode them
(GitHub issue 493).

* When adding a Curl easy object to CurlMulti via add_handle,
the easy objects now have their reference counts increased so that
the application is no longer required to keep references to them
to keep them from being garbage collected (GitHub issue 171).

* PycURL easy, multi and share objects can now be weak referenced.

* Python 3.2 and 3.3 support officially dropped as those versions
are end of lifed.

* set_ca_certs now accepts byte strings as it should have been
all along.

* PycURL now skips automatic SSL backend detection if curl-config
indicates that libcurl is not built with SSL support, and will warn
if an SSL backend is explicitly specified in this case.

* PycURL now requires that SSL backend is determined by setup.py
to provide earlier failure compared to the existing warning
during compilation and failing during module import on mismatched
SSL backends.

* Use OpenSSL 1.1 and 1.0 specific APIs for controlling thread locks
depending on OpenSSL version (patch by Vitaly Murashev).

* Fixed a crash when closesocket callback failed (patch by
Gisle Vanem and toddrme2178).

* Added CURLOPT_PROXY_SSLCERT, CURLOPT_PROXY_SSLCERTTYPE,
CURLOPT_PROXY_SSLKEY, CURLOPT_PROXY_SSLKEYTYPE,
CURLOPT_PROXY_SSL_VERIFYPEER (libcurl 7.52.0+,
patch by Casey Miller).

* Added CURLOPT_PRE_PROXY (libcurl 7.52.0+, patch by ziggy).

* Support for Python 2.6 officially dropped.

* Added SOCKET_BAD constant and it is now recognized as a valid
return value from OPENSOCKET callback.

* BoringSSL is now recognized as equivalent to OpenSSL backend
(patch by Gisle Vanem).

7.43.0.1

-----------------------------------------------------------------

* WRITEHEADER/WRITEFUNCTION and WRITEDATA/WRITEFUNCTION can now
be set on the same handle. The last call will take precedence over
previous calls. Previously some combinations were not allowed.

* Fixed a crash when using WRITEDATA with a file-like object followed
by WRITEDATA with a real file object (patch by Léo El Amri).

* Fixed a theoretical memory leak in module initialization (patch by
ideal).

* Added support for CURL_SSLVERSION_MAX_* constants (libcurl 7.52.0+,
patch by Jozef Melicher).

* Added support for CURLSSH_AUTH_AGENT (libcurl 7.28.0+,
patch by kxrd).

* Added support for CURLOPT_CONNECT_TO (patch by Iain R. Learmonth).

* Added support for CURLINFO_HTTP_VERSION (patch by Iain R. Learmonth).

* Fixed build against OpenSSL l.1 on Windows.

* Added set_ca_certs method to the Easy object to set CA certificates
from a string (OpenSSL only, patch by Lipin Dmitriy).

* Python 3.6 is now officially supported (patch by Samuel
Dion-Girardeau).

* Added support for CURLOPT_PROXY_CAPATH (libcurl 7.52.0+,
patch by Jan Kryl).

* C-Ares updated to 1.12.0 in Windows builds, fixing DNS resolution
issues on Windows (patch by Wei C).

* Added --openssl-lib-name="" option to support building against
OpenSSL 1.1.0 on Windows.

* Fixed a possible double free situation in all Curl objects
due to a misuse of the trashcan API (patch by Benjamin Peterson).

* High level Curl objects can now be reused.

* LARGE options fixed under Windows and Python 3 (INFILESIZE,
MAX_RECV_SPEED_LARGE, MAX_SEND_SPEED_LARGE, MAXFILESIZE,
POSTFILESIZE, RESUME_FROM).

* Fixed compilation on Solaris (patch by Yiteng Zhang).

* ENCODING option can now be unset (patch by Yves Bastide).

Page 2 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.