Comments (4)
I applied a few patches by Azat Khuzhin to the Libevent 2.1 branch recently to resolve these; please check for his name in the commit logs to see them. Any interest in backporting these to 2.0?
from libevent.
His patch ( 14971a8 ) does seem related (and even addresses the issue), but as you can see from my code some nameservers were just installed. Maybe doesn't matter, but it seems like there is some way the nameservers are being removed. It's also worth noting that 5c710c0 solves the issue too.
I backported Azat Khuzhin's changeset to 2.0 here https://github.com/ghazel/Libevent/tree/20_evdns_resume_fix . Want a pull request?
from libevent.
A pull request would be great there, yes! Especially if the backport was at all nontrivial.
I think that the issue isn't that the nameservers are being removed, but that any requests inflight when clear_and_suspend wind up with NULL-valued nameservers.
from libevent.
Seems that patches are merged in https://github.com/nmathewson/Libevent/pull/79
Can this be closed?
from libevent.
Related Issues (20)
- nameserver_probe_callback() accesses a nameserver object freed by evdns_base_clear_nameservers_and_suspend() HOT 6
- Support for `visionos` as a platform HOT 5
- Compile error in bufferevent_openssl.c w/ MSVC HOT 2
- add a param (ev_misalign_t misalign) to function evbuffer_add_reference HOT 3
- Libevent 2.2 stable release
- Warnings reported by Infer HOT 2
- Bug in make_ws_frame (ws.c), bug in get_ws_frame (ws.c) HOT 1
- Suggest hash-pin GitHub Actions with sensitive permissions and a Dependency-Update-Tool HOT 5
- Which version is currently most suitable for libevent? HOT 2
- How to get the reqeust queue length of one evhttp_connection? HOT 1
- libevent debugging HOT 1
- [bug] Event activated by event_active on another thread may loss while event timeout HOT 4
- clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [sample/le-proxy] Error 1 HOT 1
- Fix MbedTLS and ZLIB for windows on CI HOT 1
- May bug in evhttp_connection_free_on_completion when the evhttp_connection fail to connect HOT 2
- Security advisory link is broken HOT 2
- find_dependency for MBedTLS failed for LibeventConfig.cmake HOT 1
- Test Failure and Warnings in http/bad_request under SELECT Event Mechanism on Raspberry Pi HOT 2
- install DESTINATIONs inconsistent.
- How to implement a websocket client? 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 libevent.