[jira] [Commented] (QPID-5748) [C++ broker] Make Queue::purgeExpired more efficient by calling AbsTime::now() just once

2014-05-28 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14010868#comment-14010868 ] ASF subversion and git services commented on QPID-5748: --- Commit

[jira] [Assigned] (QPID-5748) [C++ broker] Make Queue::purgeExpired more efficient by calling AbsTime::now() just once

2014-05-28 Thread Pavel Moravec (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Moravec reassigned QPID-5748: --- Assignee: Pavel Moravec [C++ broker] Make Queue::purgeExpired more efficient by calling

[jira] [Resolved] (QPID-5748) [C++ broker] Make Queue::purgeExpired more efficient by calling AbsTime::now() just once

2014-05-28 Thread Pavel Moravec (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Moravec resolved QPID-5748. - Resolution: Fixed Fix Version/s: 0.29 Fixed together with removal of ExpiryPolicy that

[jira] [Closed] (QPID-5748) [C++ broker] Make Queue::purgeExpired more efficient by calling AbsTime::now() just once

2014-05-28 Thread Pavel Moravec (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Moravec closed QPID-5748. --- [C++ broker] Make Queue::purgeExpired more efficient by calling AbsTime::now() just once

[jira] [Commented] (QPID-5786) Memory leak in qpid-java-broker-0.26.tar.gz

2014-05-28 Thread Alex Rudyy (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14010969#comment-14010969 ] Alex Rudyy commented on QPID-5786: -- Hi Bobby, I had been trying to reproduce the issue

Re: dispatch: getting rid of QPID_DISPATCH_HOME in python scripts.

2014-05-28 Thread Darryl L. Pierce
On Tue, May 27, 2014 at 10:43:48AM -0400, Alan Conway wrote: On Fri, 2014-05-23 at 11:40 -0400, Justin Ross wrote: In which scenarios are you having to set it? If you produce two builds to two distinct install prefixes, they should be pre-defaulted with the approprate home dir, so you

Re: dispatch: using SWIG

2014-05-28 Thread Darryl L. Pierce
On Fri, May 23, 2014 at 08:06:44AM -0400, Alan Conway wrote: What's the general feeling about using SWIG in dispatch? To date dispatch uses hand-crafted calls based on Python.h primitives. My impression is that works OK for a small python/C interface but the interface is getting to the point

[C++ broker] Where is session.queue_purge declared?

2014-05-28 Thread Pavel Moravec
Hi all, I would like to write some automated tests for ACL in C++ broker, similar to current queue purge. Trying to understand the current code / call of: session.queue_purge(queue=q3) I can't find where queue_purge is declared? grepping source code gives me no clue.. (or alternatively, what

Re: [C++ broker] Where is session.queue_purge declared?

2014-05-28 Thread Ted Ross
Pavel, All of the management methods are declared in the management schema files. You can find the purge method declared in specs/management-schema.xml. The code for handling that method is in cpp/src/qpid/broker/Queue.cpp in the method: Queue::ManagementMethod(). -Ted On 05/28/2014 10:27 AM,

Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Gordon Sim
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21978/ --- Review request for qpid and Andrew Stitcher. Bugs: QPID-5788

[jira] [Commented] (QPID-5788) Delay initialization of NSS library until the creation of first SSL connection.

2014-05-28 Thread Gordon Sim (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14011234#comment-14011234 ] Gordon Sim commented on QPID-5788: -- Suggested fix available for review:

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Andrew Stitcher
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21978/#review44128 --- Such a short piece of code, so many comments... sorry.

Re: Review Request 21929: Split apart the read-only and writable aspects of pn_bytes_t

2014-05-28 Thread Rafael Schloming
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21929/#review44138 --- /proton/trunk/proton-c/bindings/perl/perl.i

[jira] [Resolved] (QPID-5588) Python client fails if socket fd FD_SETSIZE

2014-05-28 Thread Ken Giusti (JIRA)
[ https://issues.apache.org/jira/browse/QPID-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ken Giusti resolved QPID-5588. -- Resolution: Fixed Fix Version/s: (was: Future) 0.28 Python client fails

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Gordon Sim
On May 28, 2014, 5:18 p.m., Andrew Stitcher wrote: /trunk/qpid/cpp/src/qpid/client/SslConnector.cpp, line 127 https://reviews.apache.org/r/21978/diff/1/?file=597359#file597359line127 It's probably worthwhile parsing the config file so that you can set the ssl options there too.

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Gordon Sim
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21978/ --- (Updated May 28, 2014, 7:51 p.m.) Review request for qpid and Andrew Stitcher.

[jira] [Created] (QPID-5790) Python client should prefer select() to poll() if patched by eventlet

2014-05-28 Thread Ken Giusti (JIRA)
Ken Giusti created QPID-5790: Summary: Python client should prefer select() to poll() if patched by eventlet Key: QPID-5790 URL: https://issues.apache.org/jira/browse/QPID-5790 Project: Qpid

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Andrew Stitcher
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21978/#review44159 --- I don't understand your comment about not changing the static

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Andrew Stitcher
On May 28, 2014, 5:18 p.m., Andrew Stitcher wrote: /trunk/qpid/cpp/src/qpid/client/SslConnector.cpp, line 127 https://reviews.apache.org/r/21978/diff/1/?file=597359#file597359line127 It's probably worthwhile parsing the config file so that you can set the ssl options there too.

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Gordon Sim
On May 28, 2014, 8:14 p.m., Andrew Stitcher wrote: I don't understand your comment about not changing the static variables to class members, as function statics will be duplicated in any forking process in exactly the same way. Function statics are really the same executable

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Andrew Stitcher
On May 28, 2014, 5:18 p.m., Andrew Stitcher wrote: /trunk/qpid/cpp/src/qpid/client/SslConnector.cpp, line 127 https://reviews.apache.org/r/21978/diff/1/?file=597359#file597359line127 It's probably worthwhile parsing the config file so that you can set the ssl options there too.

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Andrew Stitcher
On May 28, 2014, 8:14 p.m., Andrew Stitcher wrote: I don't understand your comment about not changing the static variables to class members, as function statics will be duplicated in any forking process in exactly the same way. Function statics are really the same executable

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Gordon Sim
On May 28, 2014, 8:14 p.m., Andrew Stitcher wrote: I don't understand your comment about not changing the static variables to class members, as function statics will be duplicated in any forking process in exactly the same way. Function statics are really the same executable

Re: Review Request 21978: QPID-5788: lazy initialisation of NSS

2014-05-28 Thread Andrew Stitcher
On May 28, 2014, 8:14 p.m., Andrew Stitcher wrote: I don't understand your comment about not changing the static variables to class members, as function statics will be duplicated in any forking process in exactly the same way. Function statics are really the same executable

Re: Review Request 21929: Split apart the read-only and writable aspects of pn_bytes_t

2014-05-28 Thread Andrew Stitcher
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21929/ --- (Updated May 29, 2014, 4:58 a.m.) Review request for qpid, Darryl Pierce,