-
-
Notifications
You must be signed in to change notification settings - Fork 961
Hotfix: pycurl again #2284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hotfix: pycurl again #2284
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2284 +/- ##
==========================================
- Coverage 81.55% 81.06% -0.49%
==========================================
Files 77 77
Lines 9541 9628 +87
Branches 1162 1179 +17
==========================================
+ Hits 7781 7805 +24
- Misses 1568 1621 +53
- Partials 192 202 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how this is different then #2261?
I can also port certifi ssl certificate finding mechanism to pycurl implementation if desired |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want this rebased after the clean revert
@auvipy explain "clean revert" |
5cd0260
to
1e8ee2f
Compare
@auvipy i've been thinking about your request. and i got to a conclusion. i see no point in doing exactly that. only for the sake of "commit history". so, in the end |
before merging this, we should also consider #2300 |
kombu/asynchronous/http/curl.py
Outdated
@@ -252,14 +252,19 @@ def _setup_request(self, curl, request, buffer, headers, _pycurl=pycurl): | |||
setopt(meth, True) | |||
|
|||
if request.method in ('POST', 'PUT'): | |||
body = request.body.encode('utf-8') if request.body else b'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can rebase this so that we can merge this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Id close this one completely and go with the other one with Urllib3.
Shall I?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that could be an option, but may be just extracting the pycurl related improvement would make it usable and the urllib3 vr PR easier to review :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extracted #2322
as discussed in #2258
urllib3
http client
(as not ready for production)pycurl
as hardsqs
dependencyrequest.body
bytes
conversion (as in current code)