Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-09-15 Thread Martin Hurton
Hi Ranjeet, Is this easy to reproduce? Thanks. - Martin On Sat, Sep 10, 2016 at 3:17 PM, Ranjeet Kumar wrote: > Hi, > > I am using zeromq 4.1.5 and czmq 3.0.2. I am using the server-client as > router dealer. I am getting this *Assertion failed: !more >

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-12 Thread Martin Hurton
Hi Tomas, can you please check with the master and report back? Thanks. On Sep 9, 2014 3:44 AM, Tomas Krajca t.l.kra...@gmail.com wrote: Hi, I've got a 0MQ-based proxy, clients talk 0MQ to the proxy, the proxy then talks HTTP to do either a GET on a specific url endpoint or a POST on a

Re: [zeromq-dev] encoder::has_data() method deprecated?

2014-03-18 Thread Martin Hurton
Hi Brian, Nice work. No problem introducing has_data member function. Another option, I think, would be to rely on the fact that encode member function returns 0 when there are no data pending in the encoder. - Martin On Fri, Mar 14, 2014 at 11:43 PM, Brian Adamson

Re: [zeromq-dev] Bad file descriptor in rm_fd()

2013-11-05 Thread Martin Hurton
I vaguely remember this was reported a long time ago. I spent some time but never found anything suspicious. Will look at it. - Martin On Tue, Nov 5, 2013 at 4:10 PM, Pieter Hintjens p...@imatix.com wrote: Hi MinRK, I'll try to reproduce it tomorrow. Any suggestion to the kind of test case I

Re: [zeromq-dev] curve handcheck recovery behaviour ?

2013-10-07 Thread Martin Hurton
. EACCESS beeing a ZAP rejection, the server just delete curve_server_t and its parents, as if there had been no connection from this possible ennemy. The server remains available for other connections. true Cheers, Laurent. Le 04/10/2013 07:45, Martin Hurton a écrit : Hi Laurent

Re: [zeromq-dev] curve handcheck recovery behaviour ?

2013-10-03 Thread Martin Hurton
Hi Laurent, curve_server_t implements mechanism interface. As for handshake, there are two generic functions: next_handshake_command and process_handshake_command. These functions are used to generate and process handshake messages and are usually implemented as state machines. Those two

Re: [zeromq-dev] SUB socket can fail to subscribe if PUB socket is reset

2013-08-12 Thread Martin Hurton
Hi Shan, thanks for the report. I am going to look at it in 2-3 days if nobody beats me to it. - Martin On Sun, Aug 11, 2013 at 11:01 PM, Shan Wang shan.w...@ig.com wrote: Hi All, I'm trying to use 0MQ in our project, but recently I found a very tricky problem in the pub/sub pattern. the

Re: [zeromq-dev] ZMTP 3.0 spec or implementation error?

2013-07-23 Thread Martin Hurton
Hi Merijn, you are right, the implementation is still not complete. Plan to finish it soon. - Martin On Mon, Jul 22, 2013 at 5:07 PM, Merijn Verstraaten mer...@inconsistent.nl wrote: I grabbed the most recent master of libzmq from github, but it doesn't seem to follow the ABNF specified in

Re: [zeromq-dev] ZMQ_LINGER does not work for me.

2013-07-23 Thread Martin Hurton
Hi Frank, could you create a Jira issue with a simple C example reproducing the problem? Thanks. - Martin On Fri, Jul 19, 2013 at 9:12 PM, Frank Hartmann sound...@gmx.net wrote: Hunter, Robert robert.hunter-riv...@netapp.com writes: I believe the unit is in milliseconds, so 3000 is 3 seconds.

Re: [zeromq-dev] Epoll for IPC

2013-07-23 Thread Martin Hurton
On Linux, ZMQ uses epoll both for TCP and IPC transport. On Mon, Jul 22, 2013 at 10:42 PM, Manish Jain man...@quora.com wrote: I was curious what does ZMQ use for inter process communication (poll / epoll). I wanted to switch to Linux epoll considering its designed for this, and can scale

Re: [zeromq-dev] Multicast messages corrupted

2013-07-23 Thread Martin Hurton
Hmm, what do you mean by corrupted messages? Wrong length or content? Or some bogus messages? On Mon, Jul 22, 2013 at 9:06 PM, Alexander Zhitlenok azhitle...@geneva-trading.com wrote: Hello, We use the multicast/epgm protocol in a custom C# Application on Windows. All works fine, sometimes

Re: [zeromq-dev] Problem with multi-threaded server on OS X using C

2013-07-23 Thread Martin Hurton
Hi Steve, do you get the same error when using GCC? On Mon, Jul 22, 2013 at 5:22 PM, Steve Goodrich zeped...@yahoo.com wrote: I have compiled the C multi-threaded server from the guide on OS X 10.8.4 using LLVM 5.0. Everything runs fine. Then I add a call to system() in the worker thread so it

Re: [zeromq-dev] Disconnect appears not to respect linger

2013-07-07 Thread Martin Hurton
Hi Ben, I wonder if unbind should close any connections at all. The man page says it just closes the listener, not connections accepted by that listener. I think disconnect should respect the linger value. On Thu, Jul 4, 2013 at 11:47 AM, Ben Gray b...@benjamg.com wrote: It appears that

Re: [zeromq-dev] ZMQ TCP optimization

2013-06-30 Thread Martin Hurton
tried not using the SND\RECVBUF option and also tried setting it with very high value but didn't see any difference. Thanks, Ori -Original Message- From: zeromq-dev-boun...@lists.zeromq.org [mailto:zeromq-dev-boun...@lists.zeromq.org] On Behalf Of Martin Hurton Sent: Wednesday, June

Re: [zeromq-dev] ZMQ TCP optimization

2013-06-26 Thread Martin Hurton
Hi Ori, could you please capture the first 10 packets when you connect to the remote server for me. I would like to check something. Thanks. - mh On Wed, Jun 26, 2013 at 10:05 AM, Ori Barak oriba...@microsoft.com wrote: Hi, I have an application running on windows using ZMQ Push\Pull TCP

Re: [zeromq-dev] 0MQ for hard real time applications: the inproc communication

2013-04-18 Thread Martin Hurton
My main question at the moment is about the current implementation of INPROC transport. Digging it seems like the actual implementation is the class pipe_t, am I right? Yes, producer side writes the message to the pipe and consumer reads it from it. The pipe is implemented as lockfree on some

Re: [zeromq-dev] 0MQ for hard real time applications: the inproc communication

2013-04-18 Thread Martin Hurton
speed advantages of the lockless pipes in the first place anyway? (I haven't looked at the innards of the implementation) TTimo On Thu, Apr 18, 2013 at 10:23 AM, Martin Hurton hurt...@gmail.com wrote: My main question at the moment is about the current implementation of INPROC

Re: [zeromq-dev] crash in send_unsubscription

2013-04-11 Thread Martin Hurton
Hi Katerina, Has anybody else seen this and is this a bug that should be fixed? The data is NULL and size_ is 0. Just curious, what OS and C library are you using? void zmq::xpub_t::send_unsubscription (unsigned char *data_, size_t size_, void *arg_) { xpub_t *self = (xpub_t*)

Re: [zeromq-dev] subscriber stopped receiving messages from XPUB socket

2013-03-21 Thread Martin Hurton
Hi Winston, Thanks for the patch. I think there are still some cases which are not handled though. For example, if there are 8 pipes handled by the dist: 2 are matching, 4 are active, 6 are eligible and the last two are congested. What happens when the first active pipe terminates? I would

Re: [zeromq-dev] EAGAIN with zmq_disconnect on inproc socket

2012-12-03 Thread Martin Hurton
But I cannot figure out, which pipe to terminate as I am having difficulties finding out, which one is connected to the peer endpoint. Also, I am not sure how to terminate a pipe - is it actually sufficient to call terminate on the pipe? If you help me to complete this one, I'll submit it

Re: [zeromq-dev] segfault in python during poll() (but it's my fault)

2012-11-21 Thread Martin Hurton
Thanks for report, I will check it. On Nov 20, 2012 3:18 AM, Peter Friend pfri...@gehrytech.com wrote: I have a client REQ talking to a ROUTER. I am translating some prototype code from python to Java so the ROUTER is in Java and the REQ client is python. I was rather perplexed when I got a

Re: [zeromq-dev] segfault in python during poll() (but it's my fault)

2012-11-21 Thread Martin Hurton
Hi Peter, could you please create an issue for this and attach a simple example, best in C, to reproduce this segfault? Thanks! - Martin On Wed, Nov 21, 2012 at 4:49 PM, Martin Hurton hurt...@gmail.com wrote: Thanks for report, I will check it. On Nov 20, 2012 3:18 AM, Peter Friend pfri

Re: [zeromq-dev] segfault in python during poll() (but it's my fault)

2012-11-21 Thread Martin Hurton
The master contains patch that should fix the crash. Can you please test and report back? Thanks! - Martin On Wed, Nov 21, 2012 at 9:33 PM, Martin Hurton hurt...@gmail.com wrote: Hi Peter, could you please create an issue for this and attach a simple example, best in C, to reproduce

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-16 Thread Martin Hurton
Can't even build something more robust top of 0mq, since most of the time the only internal error handling of 0mq is a rough assert. This is an internal error, what would you suggest instead? - Martin ___ zeromq-dev mailing list

Re: [zeromq-dev] Wire-format spec for zmq 3.2

2012-10-24 Thread Martin Hurton
I think (would have to check the code) that 2.x peers do not consider the MORE bit on identities. Yes, the 2.x never checks that bit. In fact the frame that 2.0 suggests sending to discover a 1.0 peer is invalid according to the 1.0 protocol, where the 'final' byte must be %01, not %7f.

Re: [zeromq-dev] Wire-format spec for zmq 3.2

2012-10-23 Thread Martin Hurton
Hi Samuel, I run test_reqrep_tcp.cpp from tests folders from zeromq 3.2.0 and got this: 01 00 01 01 21 01 31 32 33 34 35 36 37 38 41 42 0010 43 44 45 46 47 48 31 32 33 34 35 36 37 38 61 62 0020 63 64 65 66 67 68 21 00 31 32 33 34 35 36 37 38 0030 41 42 43 44 45 46 47 48 31 32

Re: [zeromq-dev] ZeroMQ Client Lose Connection

2012-10-09 Thread Martin Hurton
Client and server are in differenct IDC, and there is a band limit between them. But when the disconnection happens, our monitor shows it does not hit the band limit. What is IDC? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] ZeroMQ Client Lose Connection

2012-10-09 Thread Martin Hurton
Hi Ji, did you try to set ZMQ_TCP_KEEPALIVE socket option on the client? - Martin On Mon, Oct 8, 2012 at 11:30 AM, Ji Zhang zhangj...@gmail.com wrote: Hi, I have a client (PULL) connect to the server (PUSH). At first they work just fine. But later the connection is broken, and client-side

Re: [zeromq-dev] crash on zmq::ctx_t::check_tag()

2012-10-09 Thread Martin Hurton
Hi Claudio, seems like an error in your application. - Martin Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libzmq.3.dylib 0x000106536c60 zmq::ctx_t::check_tag() + 4 (ctx.cpp:53) 1 libzmq.3.dylib 0x000106556f32 zmq_ctx_set +

Re: [zeromq-dev] Reconnect doesn't work for Push-pull socket if push server goes down unsafely

2012-09-29 Thread Martin Hurton
zmq::message_t msg(strlen(str)); memcpy(msg.data(), str, strlen(str)+1); This look like an error to me. - Martin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] Reconnect doesn't work for Push-pull socket if push server goes down unsafely

2012-09-29 Thread Martin Hurton
Scenario: Start a push server bind on tcp transport. Start a pull client which connects to above tcp endpoint. Wait for 5 seconds. Kill the server. Now if I restart the server again client is not re-connecting. When you kill the server, is the client still receiving messages ? It may take

Re: [zeromq-dev] 1 of 17 tests failed

2012-09-29 Thread Martin Hurton
Thanks. This was reported. See https://zeromq.jira.com/browse/LIBZMQ-432. - Martin On Fri, Sep 28, 2012 at 8:59 PM, Anjorin, Kam kam.anjo...@citadelgroup.com wrote: Downloaded zeromq-3.2 stable release Ran configure after untar ./configure --prefix=/sandbox/kanjorin/zromq.dir/install

Re: [zeromq-dev] A non-ZeroMQ packet seems to cause 100% CPU

2012-09-27 Thread Martin Hurton
Hi Clément, thanks, working on a fix. - Martin On Wed, Sep 26, 2012 at 1:28 PM, Clément Battin clem...@batt.in wrote: This concerns ZeroMQ 3, not ZeroMQ 2, my bad. Here is a simpler way to reproduce: Compile and execute: http://pastie.org/pastes/4808466/text Run this Perl one-liner:

[zeromq-dev] ZMTP/1.1, comments

2012-08-12 Thread Martin Hurton
I went through the ZMTP/1.1 specification and have two questions: ZMTP/1.1 specify, that the first message ever exchanged over the connection should consists of two frames: challenge frame and either identity of anonymous frame. The challenge frame is specified as: challenge = %x04 %x00

Re: [zeromq-dev] Assertion during zmq_recv in 3.x

2012-07-31 Thread Martin Hurton
Hi Stuart, could you please file an issue for this? - Martin On Fri, Jul 27, 2012 at 9:23 PM, Stuart Brandt s...@compuserve.com wrote: I get an assertion during a call to zmq_recv on 2 different OSes (OSX 10.7.4 and CentOS 5.8) under two different builds of 3.x (v3.2.0-rc1 and a recent build

Re: [zeromq-dev] Assertion during zmq_recv in 3.x

2012-07-31 Thread Martin Hurton
On 7/31/2012 6:04 AM, Martin Hurton wrote: Hi Stuart, could you please file an issue for this? - Martin On Fri, Jul 27, 2012 at 9:23 PM, Stuart Brandt s...@compuserve.com wrote: I get an assertion during a call to zmq_recv on 2 different OSes (OSX 10.7.4 and CentOS 5.8) under two different

Re: [zeromq-dev] Websockets as a Transport ?

2012-07-15 Thread Martin Hurton
Hi Mark, I am working on adding websocket transport into 0MQ. Will post a message once its ready for testing. - Martin On Wed, Jul 4, 2012 at 8:30 PM, Mark Farnan mark.far...@petrolink.com wrote: Howdy all, I’m evaluating zeroMQ, and one main criteria we have is to support Websockets for

Re: [zeromq-dev] High memory usage (memory leak?)

2012-07-15 Thread Martin Hurton
Stefan, could you please create a Jira issue for this? - Martin On Mon, Jul 16, 2012 at 12:28 AM, Stefan de Konink ste...@konink.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 16-07-12 00:10, Martin Hurton wrote: You suggest there are more issues. What are they? Thanks! Our

Re: [zeromq-dev] Error: comparison between signed and unsigned integer expressions

2012-07-06 Thread Martin Hurton
Hi Sharon, what revision are you using? Commit eb6c668c2ae961a4a53d11d81dd6d2df5bffa666 from Javier Lopez already fixes that. - Martin On Thu, Jul 5, 2012 at 8:51 AM, Sharon Ben-Asher sharon.ben-as...@avg.com wrote: Hello, I am trying to build ZeroMQ build for Android. I have a VM with

Re: [zeromq-dev] Full-duplex tcp sockets on io threads

2012-07-06 Thread Martin Hurton
Now, both read and write operations on a given TCP socket are performed by the same IO thread. See stream_engine implementation. - Martin On Fri, Jul 6, 2012 at 12:57 PM, Pieter Hintjens p...@imatix.com wrote: On Fri, Jul 6, 2012 at 5:39 PM, Rene-Pierre Lehmann rplehm...@gmail.com wrote: Is

Re: [zeromq-dev] OS X 10.7.4 - 2 of 18 tests failed on make

2012-06-13 Thread Martin Hurton
Hi Brian, do you get those errors each time you run make check? Could you please try the same with revision ace8f753e10e3ff35791a0cbc3399958c0b039a5? Thanks! - Martin On Wed, Jun 13, 2012 at 8:37 AM, Pieter Hintjens p...@imatix.com wrote: Brian, it would be easier for people to read if you

Re: [zeromq-dev] failure in build from head

2012-06-13 Thread Martin Hurton
Most probably related to 3ec8e576d99a332514a5338671a18413ce03ba98. Will look into it. - Martin On Wed, Jun 13, 2012 at 1:40 PM, Brian Knox bri...@talksum.com wrote: Ok!  It builds fine now, and I'm down to one failing test: test_connect_delay running... Assertion failed: s == retired_fd

Re: [zeromq-dev] failure in build from head

2012-06-13 Thread Martin Hurton
Hi Brian, could you please try with the master's HEAD. - Martin On Wed, Jun 13, 2012 at 1:40 PM, Brian Knox bri...@talksum.com wrote: Ok!  It builds fine now, and I'm down to one failing test: test_connect_delay running... Assertion failed: s == retired_fd (tcp_listener.cpp:64) /bin/sh:

Re: [zeromq-dev] zeromq and libuv

2012-06-13 Thread Martin Hurton
I know nothing about Windows IOCP. Why are you interested in having zmq working with IOCP? Thanks! - Martin On Wed, Jun 13, 2012 at 2:53 PM, Tore Halvorsen tore.halvor...@gmail.com wrote: On Mon, Mar 26, 2012 at 7:58 PM, Robert G. Jakabosky bo...@sharedrealm.com wrote: I can't think of away

Re: [zeromq-dev] Pub/sub, inproc shutdown Assert failure

2012-06-12 Thread Martin Hurton
:52 AM, Martin Hurton hurt...@gmail.com wrote: I will look into it. Thanks! - Martin On Mon, Jun 11, 2012 at 2:23 AM, hp010170 hp010...@gmail.com wrote: Marc, Martin: I am not sure if this is related, however, I have observed that: 1. tests/test_shutdown_stress.cpp seg-faults

Re: [zeromq-dev] Pub/sub, inproc shutdown Assert failure

2012-06-11 Thread Martin Hurton
the issue. The above is from the latest libzmq in the repository. Let me know if I can provide any more information. -HP On 10/06/2012 18:39, Martin Hurton wrote: Hi Marc, 1) could you create an issue 2) could you put together minimal C program reproducing this bug and make pull request so

Re: [zeromq-dev] Pub/sub, inproc shutdown Assert failure

2012-06-10 Thread Martin Hurton
Hi Marc, 1) could you create an issue 2) could you put together minimal C program reproducing this bug and make pull request so it finds its way into issues repo Thanks, martin On Sat, Jun 9, 2012 at 9:19 PM, Marc Criley mcriley.1...@gmail.com wrote: I'm getting: Assertion failed: ok

Re: [zeromq-dev] HA: I lost a bet

2012-04-25 Thread Martin Hurton
nice idea :) On Wed, Apr 25, 2012 at 7:48 PM, Michel Pelletier pelletier.mic...@gmail.com wrote: Ok here's a crazy suggestion.  I think what would work really well is a sort of advanced 0mq boot camp.  There are obviously highly skilled engineers in our community who could easily take up some

Re: [zeromq-dev] HA: I lost a bet

2012-04-25 Thread Martin Hurton
2012/4/25 Sergey Hripchenko shripche...@intermedia.net: Sorry to touch these sensitive things, but just wanted to comment that still you will need someone to be an architect and to know the deepest ZMQ implementation details. The most valuable help for my commits was from Martin off the

Re: [zeromq-dev] missing events ZMQ_FD / ZMQ_EVENTS

2012-04-23 Thread Martin Hurton
Hi Gerhard, is there an open issue for this? If not, can you file one and provide a simple program reproducing this problem. I would like to look into this. - Martin On Mon, Apr 23, 2012 at 2:53 PM, Gerhard Lipp gel...@googlemail.com wrote: Hello, I can observe the same behavior as stated

Re: [zeromq-dev] Make check fails... with following

2012-04-14 Thread Martin Hurton
Hi Illan, no failure on LInux. Are you sure you have a clean workspace? Could you please identify the commit which introduced this problem? Thanks. - Martin On Fri, Apr 13, 2012 at 2:42 PM, Ilan Levy i...@rsmep.com wrote: Hello I've pulled the latest version of libzmq from trunk, updated this

Re: [zeromq-dev] assertion in mailbox.cpp:84

2012-04-09 Thread Martin Hurton
Hi Mikhail, can you create an issue in Jira? Thanks! - Martin On Fri, Mar 30, 2012 at 11:50 AM, Mikhail Navernyuk mike.nav...@gmail.com wrote: Hi everybody, In my program I've got an assertion in mailbox.cpp:84 (zeromq-2.1.11). Could you explain me why this might hapenning? I use

Re: [zeromq-dev] Can't build zeromq 2.2.0 on Solaris with GCC 3.4.3

2012-04-08 Thread Martin Hurton
Hi, the gcc_421_char_traits.hpp header is included in the project. Seems strange that the compiler complains the file is missing. - Martin On Fri, Apr 6, 2012 at 12:07 AM, AJ Lewis aj.le...@quantum.com wrote: Hey all, I'd have logged this in jira, but there's no 2.2.0 version available there

Re: [zeromq-dev] assertion in mailbox.cpp:84

2012-04-07 Thread Martin Hurton
. The behavior of programm is nondeterministic. -Mikhail On Fri, Apr 6, 2012 at 3:00 AM, Martin Hurton hurt...@gmail.com wrote: Hi Mikhail, how difficult is it to reproduce the assertion failure? - Martin On Fri, Mar 30, 2012 at 11:50 AM, Mikhail Navernyuk mike.nav...@gmail.com wrote: Hi everybody

Re: [zeromq-dev] assertion in mailbox.cpp:84

2012-04-05 Thread Martin Hurton
Hi Mikhail, how difficult is it to reproduce the assertion failure? - Martin On Fri, Mar 30, 2012 at 11:50 AM, Mikhail Navernyuk mike.nav...@gmail.com wrote: Hi everybody, In my program I've got an assertion in mailbox.cpp:84 (zeromq-2.1.11). Could you explain me why this might hapenning? I

[zeromq-dev] [ZFL] list class

2010-10-14 Thread Martin Hurton
Hi, I plan to extend zfl library with a class for list manipulation. Below is the first draft of the function interface. Comments and suggestions would be appreciated. - mh typedef struct _zfl_list zfl_base_t; typedef struct _zfl_list_element zfl_list_element_t; // Create a new linked list.

Re: [zeromq-dev] [ZFL] list class

2010-10-14 Thread Martin Hurton
zfl_list_test (); On Thu, Oct 14, 2010 at 5:00 PM, Pieter Hintjens p...@imatix.com wrote: On Thu, Oct 14, 2010 at 2:59 PM, Martin Hurton hurt...@gmail.com wrote:    zfl_list_destroy (zfl_list_t *self); ZFL passes **self to destructors and nullifies the pointer after. //  Insert the element

Re: [zeromq-dev] [PATCH] Precise timeouts in zmq_poll

2010-10-13 Thread Martin Hurton
It seems the zmq_poll can now wait infinitely long when timeout is 0. - Martin On Wed, Oct 13, 2010 at 1:59 PM, Martin Sustrik sust...@moloch.sk wrote: Hi all, Here's a patch to master that should prevent zmq_poll exiting when specified timeout is not yet reached. Testing and reporting

Re: [zeromq-dev] [PATCH] Precise timeouts in zmq_poll

2010-10-13 Thread Martin Hurton
Martin, any reason to postpone the initialization of the end variable? - mh On Wed, Oct 13, 2010 at 9:43 PM, Martin Sustrik sust...@moloch.sk wrote: Martin Martin, Thanks for comments! Here's try no.2 Martin ___ zeromq-dev mailing list

Re: [zeromq-dev] [PATCH] Precise timeouts in zmq_poll

2010-10-13 Thread Martin Hurton
Yeah, makes sense. - mh On Wed, Oct 13, 2010 at 10:15 PM, Martin Sustrik sust...@moloch.sk wrote: On 10/13/2010 10:11 PM, Martin Hurton wrote: Martin, any reason to postpone the initialization of the end variable? It's an attempt to lower the latency. If there's already an event to return

Re: [zeromq-dev] 1 HWM

2010-07-24 Thread Martin Hurton
It was a bug. Thanks for pointing this out. I have fixed this and committed to master. - Martin On Fri, Jul 23, 2010 at 5:50 PM, ilejncs ilej...@narod.ru wrote: Hello, 0mq people. It looks like '1' is a special HWM value. If it is set for DOWNSTREAM socket, it is never possible to send

Re: [zeromq-dev] inproc socket connection fails on Centos5/AmazonEC

2010-07-19 Thread Martin Hurton
Hi Dmitri, I think this is a timing issue; you call connect() before the bind () has finished. Try to postpone the connect() call by 1 second. - Martin On Mon, Jul 19, 2010 at 5:12 AM, Dmitri Toubelis dmitri.toube...@alkeron.com wrote: Some more information on this issue. This is happening

Re: [zeromq-dev] hangs when opening/closing sockets frequently [2.0.7, OS/X] [re-post]

2010-07-15 Thread Martin Hurton
Hi Matt, I think I have a fix for this bug. You can find it in my private repository (http://github.com/hurtonm/zeromq2/commit/f6dc098024ad44f07cf0c05d40e8c9c446cb699c). Please test and report back. - Martin On Thu, Jul 8, 2010 at 11:30 PM, Matt Weinstein matt_weinst...@yahoo.com wrote: On

Re: [zeromq-dev] hangs when opening/closing sockets frequently [2.0.7, OS/X] [re-post]

2010-07-08 Thread Martin Hurton
Hi Matt, This is truly interesting. Could you please post the source code so I can run the test myself. Thanks! - martinh On Thu, Jul 8, 2010 at 11:30 PM, Matt Weinstein matt_weinst...@yahoo.com wrote: On Jul 8, 2010, at 5:01 PM, Matt Weinstein wrote: [Moderator - Please kill my prior

Re: [zeromq-dev] tcp_connecter Assertion failed

2010-06-30 Thread Martin Hurton
I think this is fixed on the master now? Can you checkout using GIT and test this version? - Martin On Thu, Jul 1, 2010 at 6:03 AM, rad jan jan@gmail.com wrote: Hi, folks, Thanks for your great work! We use zmq as the message system between modules on different servers. The servers are

Re: [zeromq-dev] SWAP functionality now in trunk

2010-06-27 Thread Martin Hurton
Hi Martin, Can you please apply the attached patch and let me know if it builds now? - MH -- Forwarded message -- From: Martin Sustrik sust...@250bpm.com Date: Sat, Jun 26, 2010 at 8:19 PM Subject: Re: [zeromq-dev] SWAP functionality now in trunk To: 0MQ development list