Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-25 | listener object unregisters its fd correctly | Martin Sustrik | |
2010-08-25 | sessions created by listerner are correctly shut down | Martin Sustrik | |
2010-08-25 | added ZMQ_MAKE_VALGRIND_HAPPY compile-time option | Martin Sustrik | |
2010-08-25 | engine leak fixed; pgm compilation fixed | Martin Sustrik | |
2010-08-25 | one more dezombification bug fixed | Martin Sustrik | |
2010-08-25 | dezombification procedure fixed | Martin Sustrik | |
2010-08-25 | engine termination on disconnect fixed | Martin Sustrik | |
2010-08-25 | I/O object hierarchy implemented | Martin Sustrik | |
2010-08-25 | zmq_poll(): Fix some corner cases | Martin Lucina | |
Trying to optimize out the case where items_[i]. events is 0 would result in a bogus pollfds[i]. Similarly in the select()-based impl, while not strictly necessary it's better to get ZMQ_FD even if events is 0 since that detects ETERM and friends. | |||
2010-08-25 | zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2 | Martin Lucina | |
Rewrite the select()-based zmq_poll() implementation to use ZMQ_FD and ZMQ_EVENTS. Also fix some corner cases: We should not pollute revents with unrequested events, and we don't need to poll on ZMQ_FD at all if a pollitem with no events set was passed in. | |||
2010-08-25 | Fix whitespace | Martin Lucina | |
Dunno where those <TAB>s came from... | |||
2010-08-25 | zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt1 | Martin Lucina | |
Rewrite zmq_poll() to use ZMQ_FD and ZMQ_EVENTS introduced on the wip-shutdown branch. Only do the poll()-based version of zmq_poll (), the select()-based version will not compile at the moment. | |||
2010-08-25 | REP socket layered on top of XREP socket | Martin Sustrik | |
2010-08-25 | REQ socket implementation is layered on top of XREQ | Martin Sustrik | |
2010-08-25 | Destruction of session is delayed till both in & out pipes are closed | Martin Sustrik | |
2010-08-25 | WIP: Socket migration between threads, new zmq_close() semantics | Martin Sustrik | |
Sockets may now be migrated between OS threads; sockets may not be used by more than one thread at any time. To migrate a socket to another thread the caller must ensure that a full memory barrier is called before using the socket from the target thread. The new zmq_close() semantics implement the behaviour discussed at: http://lists.zeromq.org/pipermail/zeromq-dev/2010-July/004244.html Specifically, zmq_close() is now deterministic and while it still returns immediately, it does not discard any data that may still be queued for sending. Further, zmq_term() will now block until all outstanding data has been sent. TODO: Many bugs have been introduced, needs testing. Further, SO_LINGER or an equivalent mechanism (possibly a configurable timeout to zmq_term()) needs to be implemented. | |||
2010-08-25 | zmq_stopwatch_stop: Don't return EFAULT | Martin Lucina | |
Function returning unsigned long int cannot return (-1) | |||
2010-08-11 | 46 - Devices vulnerable to invalid messages | Pieter Hintjens | |
http://github.com/zeromq/zeromq2/issues#issue/46 Invalid messages are now discarded silently, instead of causing an assertion failure. | |||
2010-08-08 | Added error checking (EFAULT) for null arguments | Pieter 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-07 | Added not-null assertions on pointer arguments in C API functions | Pieter 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-06 | Fix uninitialized use of nbytes in signaler fix | Martin Lucina | |
2010-08-05 | zmq::signaler_t: Restart syscalls on EINTR | Martin Lucina | |
This patch restarts the send() or recv() inside zmq::signaler_t if the call fails due to EINTR. | |||
2010-08-04 | Renamed ZMQ_UPSTREAM to ZMQ_PULL, and ZMQ_DOWNSTREAM to ZMQ_PUSH. Left the old | Pieter 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-30 | XREQ: Correct behaviour on hitting ZMQ_HWM | Martin 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-24 | pipe: check_read() should check for message delimiter | Martin Hurton | |
2010-07-24 | Make sure lwm > 0 when hwm > 0 | Martin Hurton | |
2010-07-21 | Issue 42 - getaddrinfo() fails | Martin Lucina | |
2010-07-19 | EHOSTUNREACH is a valid return value from recv() | Martin Sustrik | |
2010-07-13 | minor comment clarification | Martin Sustrik | |
2010-07-13 | devices exit in case of context termination | Martin Sustrik | |
2010-07-10 | Fix identity generation for transient inproc connections | Martin Hurton | |
2010-07-07 | issue 40 - nbytes != -1 (tcp_socket.cpp:216) | Martin Hurton | |
2010-07-07 | issue 38 - Assertion failed: fetched (xrep.cpp:196) | Martin Hurton | |
2010-06-29 | Prevent socket reuse by second bind, on win32 | Pieter Hintjens | |
2010-06-29 | MSVC build fixed | Martin Sustrik | |
2010-06-26 | msg_store added to MSVC build | Martin Sustrik | |
2010-06-25 | Used more expressive variable names | Pieter Hintjens | |
2010-06-21 | Add SWAP support | Martin Hurton | |
2010-06-19 | Revive reader on pipe termination | Martin Hurton | |
2010-06-19 | fix double free error in PAIR socket | Martin Hurton | |
2010-06-17 | Windows build fixed | Martin Sustrik | |
2010-06-17 | stopwatch returned to libzmq | Martin Sustrik | |
2010-06-17 | pipe: fix bug in rollback() method | Martin 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-17 | generate identity for transient inproc connections | Martin Sustrik | |
2010-06-11 | issue 35 - ZMQ_RCVMORE sometimes erroneously returns false | Brian Buchanan | |
2010-06-11 | if connect asserts, exact error is reported | Martin Sustrik | |
2010-06-11 | EHOSTUNREACH is acceptable outcome from connect | Martin Sustrik | |
2010-06-10 | clearing thread info structure | Piotr Trojanek | |
2010-06-10 | couple of ICC warnings fixed | Martin Sustrik | |
2010-06-10 | issue 33 - missing virtual destructors | Martin Sustrik | |