evgenido / stomp Goto Github PK
View Code? Open in Web Editor NEWSTOMP client library written in C
License: GNU Lesser General Public License v3.0
STOMP client library written in C
License: GNU Lesser General Public License v3.0
I am very interested in your "stomp", but there is no version number Tags on the project. I was wondering if it is possible to add the tags?
I'm using callgrind to tell why my program is consuming all CPU and it turns out select
is being called tens of thousands of times a second. I wonder it would be a good idea to place a usleep
inside the while(s->run)
.
Here is a snippet of callgrind_control called a few seconds after process start:
Frame: Backtrace for Thread 2
[ 0] select (361723 x)
[ 1] stomp_run (2 x)
[ 2] thread_stomp (2 x)
[ 3] start_thread (4 x)
[ 4] clone
Line 795 in fd6145f
I tried to build this in Ubuntu 16.04LTS.
I tried running the only script ./autogen.sh this fails with
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:5: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
examples/Makefile.am: installing './depcomp'
automake: warnings are treated as errors
/usr/share/automake-1.15/am/ltlibrary.am: warning: 'libstomp.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:2: while processing Libtool library 'libstomp.la'
tests/Makefile.am:19: warning: source file '$(top_builddir)/src/frame.c' is in a subdirectory,
tests/Makefile.am:19: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
tests/Makefile.am:19: warning: source file '$(top_builddir)/src/hdr.c' is in a subdirectory,
tests/Makefile.am:19: but option 'subdir-objects' is disabled
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
I tried supplying the srcdir but same error, the script implied it might need.
Client call stomp_send
function with large data (1024 byte, or more), then memory corruption error is occurred.
This is because buf_len
will be begger than buf_capacity
in frame_alloc
function.
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.