msgpack-rpc / msgpack-rpc-cpp Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Building the library from Visual Studio is a pain right now, there should be a way to generate project files for building. I'm not sure how portable the code is, but considering that your GCC version requirement is pretty old (4.1) it should be fine.
I tried to compile this; I'm getting: --with-mpio=DIR option may be needed.
How would I get mpio library?
(i'm on ubuntu 14.04)
I tried compiling https://github.com/jubatus/jubatus-mpio but it generates libjubatus_mpio.a
, not libmpio.a
. See also jubatus/jubatus-msgpack-rpc#24
After some review on the source code. I noticed the follow problem:
The auto_zone hold a object which is allocated by malloc.
See below:
line 325 in rpc/transport/base.h, the zone object passed to the on_message is from the m_pac.release_zone().
And this auto_zone will be passed to on_response in session_impl and then to the set_result in the future_impl.
The future_impl will hold this auto_zone until its destructor.
But the auto_ptr will use the delete not a free in reset() or destructor. I think this may be why the valgrind reports the invalid info.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.