Comments (3)
Looking at it more closely, I'm guessing what used to be a deadlock is now detected and an exception is thrown instead. Seems that -cleanupMulti, which does a dispatch_sync() is being called indirectly via -setState: from various dispatch_async() blocks.
from curlhandle.
So, with my limited knowledge of the code, I'm thinking that the dispatch_sync() call in -cleanupMulti can be removed. Everywhere that I can tell that it's called, it's being called on the queue (either via dispatch_async() or via a dispatch_source cancel handler. If that seems correct to you then I can make the change (or you could do it yourself since it's pretty easy).
from curlhandle.
@MrNoodle is right. Code was deadlocking before but Sierra throws out an exception. The fix was to either get rid of the dispatch_sync
call or change it to dispatch_async
. I've gone with the latter to be more cautious in case there were other things still in the queue. Fix has been pushed to the v4.x-beta
branch
from curlhandle.
Related Issues (10)
- syntax error before ‘curl_usessl’ HOT 3
- Code signing CURLHandle? HOT 2
- IPv6 Support HOT 2
- Update libcurl
- Repository should contain CurlHandle's MacPorts portfile and keep it up to date HOT 3
- CURLHandle cancel should talk to the multi HOT 1
- SFTP usage HOT 1
- error: unexpected '@' in program HOT 5
- ld: framework not found CFNetwork HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curlhandle.