| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #785.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
In newer setuptools/distutils, the build directory has been changed from
using the Python version (e.g., 3.10) to using the cache tag (e.g.,
cpython-38). So, support both variants by making the dot optional.
|
|
|
|
| |
Fixes #766
|
|
|
|
| |
Fixes #762.
|
|
|
|
|
|
|
|
|
| |
1) Use setuptools instead where it can replace distutils
2) Replace distutils.util.split_quoted with shlex.split
3) Remove support for bdist_msi (it's deprecated anyway)
4) Remove unused function in tests/util.py
Fixes #757
|
|\
| |
| | |
Fix CA tests with curl 7.82
|
| |
| |
| |
| | |
This fixes issues when testing with curl 7.82.
|
|/
|
|
|
|
| |
curl 7.83.0 removed exclamation marks from a few error messages, curl commit:
https://github.com/curl/curl/commit/6968fb9d54dc3a1aaa1b16088f038eaf5dd8b2d7
This commit adds support for the new curl release while also supporting the previous ones.
|
| |
|
|\
| |
| | |
[WIP] Improve multi_callback_test
|
| | |
|
|\ \
| | |
| | | |
Add CI for Windows
|
| | | |
|
| |/ |
|
|/
|
|
| |
Failure is documented at: https://github.com/pycurl/pycurl/issues/729
|
|\
| |
| | |
easy.duphandle()
|
| |
| |
| |
| |
| | |
* Test different sequences of duphandle(), reset(), unsetopt(), setopt()
* Test references with Python's gc and weakref modules
|
| |
| |
| |
| |
| |
| |
| |
| | |
* /header_utf8: don't fail if request header wasn't sent, return ''
* /postfields: allow GET requests
This makes it possible to test unsetopt() and reset() for HTTPHEADER
and HTTPPOST options.
|
| | |
|
|\ \
| | |
| | | |
Fix unsetting multi options
|
| |/
| |
| |
| |
| | |
* set callback options
* unset options with None
|
|\ \
| | |
| | | |
Subclass support
|
| |/ |
|
|\ \
| | |
| | | |
Fix multi callback issues: easy.pause(), easy.close(), multi.close()
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Tests invocation of callbacks by the following methods:
* multi.socket_action(...)
* multi.add_handle(easy)
* [mid-transfer] multi.remove_handle(easy)
* [mid-transfer] easy.pause(PAUSE_ALL)
* [mid-transfer] easy.pause(PAUSE_CONT)
* [mid-transfer] easy.close()
|
|/
|
|
| |
This allows pycurl to be compiled with the curl that is shipped with macOS.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
see https://github.com/bottlepy/bottle/issues/1148
closes #669
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master:
Depend on o-nose-show-skipped to get unreleased fixes i nose-show-skipped
Best effort python 2 support. See #652
failonerror_test: skip the test with curl-7.75.0+
option_constants_test: skip check of SSLVERSION_SSLv*
curl_version_info_struct lags behind curl #662
Allow to get CURLINFO_CONDITION_UNMET
Remove bintray from docs
docs: fix typos
docs(quickstart): only show Python 3 code
Expose MAX_CONCURRENT_STREAMS in CurlMulti
src/module.c: make the code compile against python-3.10.0a1
Build documentation using specified Python version
Use make -C for building fake-curl
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libcurl does not provide the reason phrase from HTTP status line
in the error buffer any more:
https://github.com/curl/curl/issues/6615
Fixes: https://github.com/pycurl/pycurl/issues/679
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... with curl-7.77.0, where they started to return
CURLE_BAD_FUNCTION_ARGUMENT:
https://github.com/curl/curl/pull/6773
Closes: https://github.com/pycurl/pycurl/pull/689
|
| |
| |
| |
| |
| |
| | |
Both the Makefile and the Travis setup use a subshell with cd to build
fake-curl, whereas make everywhere supports -C, so make use of that
instead.
|
| |
| |
| |
| |
| | |
Python 3.1 added more assert methods to unittest for ease of use, swith
to using assertIn() for ease of debugging failures.
|
|/
|
|
|
| |
With nose being unmaintained for a long while, switch to pytest to run
the test suite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes this issue with OpenSSL 1.1.0:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/<<PKGBUILDDIR>>/tests/runwsgi.py", line 67, in run
bottle.run(self.app, server=self.server, quiet=True)
File "/usr/lib/python3/dist-packages/bottle.py", line 3129, in run
server.run(app)
File "/<<PKGBUILDDIR>>/tests/runwsgi.py", line 38, in run
self.srv.socket = ssl.wrap_socket(
File "/usr/lib/python3.8/ssl.py", line 1402, in wrap_socket
context.load_cert_chain(certfile, keyfile)
ssl.SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:4022)
|
| |
|
|
|
|
|
|
|
|
| |
The shipped libraries (obviously) do not work on non-amd64 platforms,
and rebuilding without the correct compiler and flags does not work
on more complex setups such as ppc64 with 32-bit userland. Make
the Makefile permit CC override while preserving the current default,
and use user-provided CFLAGS, CPPFLAGS and LDFLAGS.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Test SSL_ENGINES option.
|
| |
| |
| |
| | |
Closes #558
|