Comments (3)
nng calls the pipe callback directly, so it seems even likelier that this is a bookkeeping issue in pynng
. See https://github.com/nanomsg/nng/blob/82afec95496fd2e4b8fb404aa90e961f93db1fe8/src/core/socket.c#L1439. I'm struggling to think of what the issue is.
from pynng.
There's a separate race condition where the message is received and then the pipe is disconnected from the socket that also needs to be protected against, but that's not the reason that the test failed in Travis.
from pynng.
Fixed in 586ae5e, but I'm not thrilled about it. At some level it's necessary because of the disconnect race condition, but I'm worried it will cover up other issues, so a logger.warning()
is issued and CI runs will be verbose and won't capture stderr/stdout soon to see if the warning is ever seen.
from pynng.
Related Issues (20)
- [Qeustion] Why there is not a cross-language NNG-RPC lib (just like zerorpc) HOT 1
- Upgrade nng version please. HOT 7
- RuntimeError: cannot use unpack() on <cdata 'char *' NULL>
- pynng sock.recv() not interruptable HOT 4
- NNG Panic on Python shutdown HOT 5
- Building on Mac M1 needs a tweak. HOT 1
- Missing source distribution on PyPi HOT 2
- MQTT over QUIC Protocol HOT 1
- Issue with forked process, spawn works fine HOT 1
- remote address on Rep0? HOT 1
- Dial fails with NNGException: Connection shutdown in kubernetes
- library update/development status and plans HOT 20
- sniffio was removed from the install_requires, but is still imported in _aio.py HOT 3
- Bump version HOT 5
- Non-nng client communicating with nng server? HOT 2
- building pynng on conda-forge HOT 3
- Support for `recv_into` HOT 1
- selectors dont work with recv_fd
- Missing wheel for python 3.10 HOT 6
- High CPU usage and memory leak HOT 2
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 pynng.