summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-09-26if TSC jumps backwards (in case of migration to a different CPU core) ↵Martin Sustrik
latency peak may occur -- fixed
2010-09-15values of RATE, RECOVERY_IVL and SWAP options are checked for negative valuesMartin Sustrik
2010-09-04assert on malformed messagesDhammika Pathirana
2010-09-04forwarder and streamer devices handle multi-part messages correctlyJon Dyte
2010-09-04improved null checking in zmq_termIvo Danihelka
2010-09-04zmq::select_t, zmq_poll(): assert if FD_SETSIZE reachedMartin Lucina
Ensure that 0MQ does not attempt to call select() on more than FD_SETSIZE file descriptors.
2010-09-02Prior to this patch prefix_tree asserts.Jon Dyte
This is because as it adds the 255th element at a node it attempts to calculate the count member var which is an unsigned char via count = (255 -0) + 1; and pass the result to realloc. Unfortunately the result is zero and realloc returns null; the prefix_tree asserts. I have fixed it by making the count an unsigned short.
2010-09-02Fix for signaler_t on HP-UX and AIX platformsBernd Melchers
2010-09-01Erasure of retired fd's in select.cpp causes an assertion in MSVC 2008 STLMikael Helbo Kjær
I was hitting an issue with an SCL enabled STL library in connection with the way select_t::loop was erasing retired fd's. The problem as identified by the SCL assertion was that by the time the iterator given to the erase method was called it was considered invalid by the library. I am not sure this isn't just a "quirk" of the MSVC STL library as the other code looks valid to me as well.
2010-08-25zmq_stopwatch_stop: Don't return EFAULTMartin Lucina
Function returning unsigned long int cannot return (-1)
2010-08-1146 - Devices vulnerable to invalid messagesPieter Hintjens
http://github.com/zeromq/zeromq2/issues#issue/46 Invalid messages are now discarded silently, instead of causing an assertion failure.
2010-08-08Added error checking (EFAULT) for null argumentsPieter Hintjens
* Fixed zmq_term, zmq_socket, zmq_close, zmq_setsockopt, * zmq_getsockopt, zmq_bind, zmq_connect, zmq_send, * zmq_recv, zmq_poll, zmq_device, zmq_stopwatch_stop * Updated Reference Manual for these methods
2010-08-07Added not-null assertions on pointer arguments in C API functionsPieter Hintjens
* zmq_term * zmq_socket * zmq_close * zmq_setsockopt * zmq_getsockopt * zmq_bind * zmq_connect * zmq_send * zmq_recv * zmq_poll * zmq_device * zmq_stopwatch_stop
2010-08-06Fix uninitialized use of nbytes in signaler fixMartin Lucina
2010-08-05zmq::signaler_t: Restart syscalls on EINTRMartin Lucina
This patch restarts the send() or recv() inside zmq::signaler_t if the call fails due to EINTR.
2010-08-04Renamed ZMQ_UPSTREAM to ZMQ_PULL, and ZMQ_DOWNSTREAM to ZMQ_PUSH. Left the oldPieter Hintjens
definitions as aliases, to be removed in release 3.0. Also renamed the source files implementing these two socket types. This change does not break existing applications nor bindings, but allows us to fix the documentation and user guide now, rather than keeping the old (confusing) names.
2010-07-30XREQ: Correct behaviour on hitting ZMQ_HWMMartin Lucina
This reverts part of commit 84e0c7991a9b316ed571533abc628cc1175750a3 to get correct ZMQ_HWM semantics with XREQ sockets: When sending a message to an XREQ socket, the underlying pipe is selected in a round-robin fashion. If an underlying pipe is full it is skipped. If there are no underlying pipes, or all underlying pipes are full then zmq_send() shall block or return EAGAIN, depending on whether or not the call is blocking. Messages are never dropped.
2010-07-24pipe: check_read() should check for message delimiterMartin Hurton
2010-07-24Make sure lwm > 0 when hwm > 0Martin Hurton
2010-07-21Issue 42 - getaddrinfo() failsMartin Lucina
2010-07-19EHOSTUNREACH is a valid return value from recv()Martin Sustrik
2010-07-13minor comment clarificationMartin Sustrik
2010-07-13devices exit in case of context terminationMartin Sustrik
2010-07-10Fix identity generation for transient inproc connectionsMartin Hurton
2010-07-07issue 40 - nbytes != -1 (tcp_socket.cpp:216)Martin Hurton
2010-07-07issue 38 - Assertion failed: fetched (xrep.cpp:196)Martin Hurton
2010-06-29Prevent socket reuse by second bind, on win32Pieter Hintjens
2010-06-29MSVC build fixedMartin Sustrik
2010-06-26msg_store added to MSVC buildMartin Sustrik
2010-06-25Used more expressive variable namesPieter Hintjens
2010-06-21Add SWAP supportMartin Hurton
2010-06-19Revive reader on pipe terminationMartin Hurton
2010-06-19fix double free error in PAIR socketMartin Hurton
2010-06-17Windows build fixedMartin Sustrik
2010-06-17stopwatch returned to libzmqMartin Sustrik
2010-06-17pipe: fix bug in rollback() methodMartin Hurton
The msgs_written variable keeps track how many complete messages have been written so far. The rollback operation drops all fragments of the last incomplete message so it shouldn't change this variable at all.
2010-06-17generate identity for transient inproc connectionsMartin Sustrik
2010-06-11issue 35 - ZMQ_RCVMORE sometimes erroneously returns falseBrian Buchanan
2010-06-11if connect asserts, exact error is reportedMartin Sustrik
2010-06-11EHOSTUNREACH is acceptable outcome from connectMartin Sustrik
2010-06-10clearing thread info structurePiotr Trojanek
2010-06-10couple of ICC warnings fixedMartin Sustrik
2010-06-10issue 33 - missing virtual destructorsMartin Sustrik
2010-06-10issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT ↵Martin Sustrik
(tcp_connecter.cpp:296)
2010-06-09issue 32 - poll_t poller brokenMartin Sustrik
2010-06-09extra ';' inside a struct or union -- clang warnings fixedPiotr Trojanek
2010-06-07minor comment clarificationMartin Sustrik
2010-06-04Fix MINGW buildMartin Lucina
Mingw seems to define NOMINMAX, so don't redefine it if already defined
2010-06-04platform.hpp for MSVC contains only very basic stuffMartin Sustrik
2010-06-04Fix Solaris/NetBSD breakage in atomic_ptr.hppMartin Lucina