Re: How to copy a pn_message?

2015-08-10 Thread Dominic Evans
Hi Alan, -aconway acon...@redhat.com wrote: - I don't see any pn_message_copy function in the proton library, is there an efficient way to make an independent copy of a message? I can encode and decode but that seems like a long way around. I actually had a patch lying around to add

Re: Git repo for the proton Go binding.

2015-07-14 Thread Dominic Evans
-aconway acon...@redhat.com wrote: - Is this just because the go code isn't at the top-level? Can't you just rename your current branch out of the way and then subtree the binding and push it to the go1 branch? e.g., something like... # rename old full tree branch and push it

Re: Git repo for the proton Go binding.

2015-07-13 Thread Dominic Evans
-aconway acon...@redhat.com wrote: - I would like to create a separte git repo for the proton Go binding. Go provides go get to grab online go source libraries, based on cloning repos. The go tools assume that each go project has its own repo. I have tried to make this work directly

Re: Proton Devs using Linux: please run the python-tox-test unit tests!!

2015-07-08 Thread Dominic Evans
I do have an unpushed change that partially enables it for travis. I'll push later tonight. On 8 Jul 2015, at 18:27, Ken Giusti kgiu...@redhat.com wrote: Good point, I'll see what I can do on that front. - Original Message - From: Robbie Gemmell robbie.gemm...@gmail.com To:

[jira] [Created] (PROTON-931) proton-j: unable to determine if LINK_REMOTE_DETACH happened in response to a local detach

2015-07-03 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-931: Summary: proton-j: unable to determine if LINK_REMOTE_DETACH happened in response to a local detach Key: PROTON-931 URL: https://issues.apache.org/jira/browse/PROTON-931

AMQP 1.0 and Shared Subscriptions

2015-05-06 Thread Dominic Evans
When we were implementing the MQ Light broker, we wanted to be able to support sharing of subscriptions across a group of clients - in particular for the worker offload scenario. At the time we were unable to find guidance in the specification or extensions thereof, so we went ahead with

Re: Build broken [WAS: Concurrent Go API for proton is, erm, GO!]

2015-05-06 Thread Dominic Evans
-Robbie Gemmell robbie.gemm...@gmail.com wrote: - The Java test runs have apparently been failing since the last few commits went in for the Go bits. https://builds.apache.org/job/Qpid-proton-j/ I spotted this as it was also causing a `make install` to fail on the proton-c jenkins.

Re: candidate commits for 0.9.1

2015-04-29 Thread Dominic Evans
-Robbie Gemmell robbie.gemm...@gmail.com wrote: - There were some changes on master and the branch yesterday, so I have updated the commit lists again. The current categorised list of commits is now at: http://people.apache.org/~robbie/qpid/proton/0.9.1/git-cherry-pass3-c

Re: candidate commits for 0.9.1

2015-04-27 Thread Dominic Evans
-Robbie Gemmell robbie.gemm...@gmail.com wrote: - I have gone through the git cherry output and categorised the remaining commits from master that dont have a direct equivalent on the 0.9.x branch, splitting according to what they update i.e. mainly by language. I listed some as

Re: codec changes

2015-04-15 Thread Dominic Evans
-Rafael Schloming r...@alum.mit.edu wrote: - On Tue, Apr 14, 2015 at 1:27 PM, Alan Conway acon...@redhat.com wrote: That works for me, now how do we manage the transition? I don't think we can afford to inflict yum update proton; all proton apps crash on our users.  That means we

[jira] [Resolved] (PROTON-844) proton-j: ArrayIndexOutOfBounds exception if remote peer sends a handle 1024

2015-04-02 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-844. -- Resolution: Fixed proton-j: ArrayIndexOutOfBounds exception if remote peer sends a handle 1024

[jira] [Created] (PROTON-843) proton-j: Transport advertises idle timeout as-is whereas proton-c halves it before

2015-04-02 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-843: Summary: proton-j: Transport advertises idle timeout as-is whereas proton-c halves it before Key: PROTON-843 URL: https://issues.apache.org/jira/browse/PROTON-843

[jira] [Created] (PROTON-844) proton-j: ArrayIndexOutOfBounds exception if remote peer sends a handle 1024

2015-04-02 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-844: Summary: proton-j: ArrayIndexOutOfBounds exception if remote peer sends a handle 1024 Key: PROTON-844 URL: https://issues.apache.org/jira/browse/PROTON-844 Project

Idle Timeout of a Connection

2015-04-01 Thread Dominic Evans
2.4.5 Idle Timeout Of A Connection To avoid spurious timeouts, the value in idle-time-out SHOULD be half the peer's actual timeout threshold So, to me, this means on the @open performative the client should flow (e.g.,) 3 as the idleTimeOut it would like to negotiate, but should actually

Re: Idle Timeout of a Connection

2015-04-01 Thread Dominic Evans
-Rafael Schloming r...@alum.mit.edu wrote: - On Wed, Apr 1, 2015 at 6:00 AM, Dominic Evans dominic.ev...@uk.ibm.com wrote: 2.4.5 Idle Timeout Of A Connection Thoughts? I believe your interpretation is correct. I've certainly noticed idle frames being sent significantly more

Re: Idle Timeout of a Connection

2015-04-01 Thread Dominic Evans
-Ken Giusti kgiu...@redhat.com wrote: - I've gone back and forth about what the proper behavior should be for Proton re: idle timeout. It's that darn pesky SHOULD... which means 'recommended', not exactly 'required'. Yes, I was similarly surprised that the spec chose to say 'SHOULD'

[jira] [Reopened] (PROTON-834) proton-j: UTF-8 encoder reporting some three byte characters as invalid surrogates

2015-03-16 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans reopened PROTON-834: -- Assignee: Dominic Evans proton-j: UTF-8 encoder reporting some three byte characters

Re: [VOTE] Proton 0.9 RC 2

2015-03-16 Thread Dominic Evans
Hey Rafa, I did already cherry pick it into the release branch. Cheers Dom On 16 Mar 2015, at 18:54, Rafael Schloming r...@alum.mit.edu wrote: I'm happy to do a quick turnaround on RC 3 if you/he wants to pull the fix onto the release branch. --Rafael On Tue, Mar 17, 2015 at 5:54 AM,

[jira] [Updated] (PROTON-834) proton-j: UTF-8 encoder reporting some three byte characters as invalid surrogates

2015-03-16 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-834: - Fix Version/s: (was: 0.9) proton-j: UTF-8 encoder reporting some three byte characters

[jira] [Created] (PROTON-834) proton-j: UTF-8 encoder reporting some three byte characters as invalid surrogates

2015-03-05 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-834: Summary: proton-j: UTF-8 encoder reporting some three byte characters as invalid surrogates Key: PROTON-834 URL: https://issues.apache.org/jira/browse/PROTON-834

[jira] [Resolved] (PROTON-834) proton-j: UTF-8 encoder reporting some three byte characters as invalid surrogates

2015-03-05 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-834. -- Resolution: Fixed Pushed c65e897 proton-j: UTF-8 encoder reporting some three byte

[jira] [Created] (PROTON-832) messenger: next_drain is not reset for manual link credit mode in messenger

2015-03-03 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-832: Summary: messenger: next_drain is not reset for manual link credit mode in messenger Key: PROTON-832 URL: https://issues.apache.org/jira/browse/PROTON-832 Project

[jira] [Resolved] (PROTON-548) Proton-C driver and URL Parsers don't support AF_INET6 (IPv6)

2015-03-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-548. -- Resolution: Fixed Just noticed that the windows fix was comitted by [~chug] under commit

[jira] [Closed] (PROTON-548) Proton-C driver and URL Parsers don't support AF_INET6 (IPv6)

2015-03-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans closed PROTON-548. Proton-C driver and URL Parsers don't support AF_INET6 (IPv6

[jira] [Assigned] (PROTON-832) messenger: next_drain is not reset for manual link credit mode in messenger

2015-03-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans reassigned PROTON-832: Assignee: Dominic Evans messenger: next_drain is not reset for manual link credit mode

[jira] [Resolved] (PROTON-832) messenger: next_drain is not reset for manual link credit mode in messenger

2015-03-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-832. -- Resolution: Fixed messenger: next_drain is not reset for manual link credit mode in messenger

Re: PROTON-827: Reactive client binding for the go programming language

2015-02-26 Thread Dominic Evans
Hi Alan, -Alan Conway acon...@redhat.com wrote: - I plan to start working on a go golang.org binding for proton. I envisage a SWIG binding similar to the other swig-based bindings (python, ruby, etc.) and an API layer similar to the new reactive Python API (based on the C reactor.)

Re: PROTON-827: Reactive client binding for the go programming language

2015-02-26 Thread Dominic Evans
http://golang.org/cmd/cgo/ :/ -- Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Re: Please can we get rid of the trunk branch (or make it a symlink to master)

2015-02-16 Thread Dominic Evans
Rafael Schloming r...@alum.mit.edu wrote on 16/02/2015 20:02:07: On Mon, Feb 16, 2015 at 2:32 PM, Alan Conway acon...@redhat.com wrote: I work on a mix of SVN and GIT-based projects so I switch between trunk and master a lot. Proton used to be an SVN based project. I repeatedly stub my

pn_sender / pn_receiver behaviour between proton-c and proton-j

2015-02-12 Thread Dominic Evans
In proton-c pn_sender / pn_receiver in the engine will always return a brand new link. But their equivalents in SessionImpl in proton-j, keep a cached list of the existing session links, and return you one of those if you already have a link with the name you asked for - which is pretty much what

[jira] [Resolved] (PROTON-154) proton-j: link attach, detach, attach sequence on single session does not result in a new link for the 2nd attach

2015-02-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-154. -- Resolution: Fixed Fix Version/s: 0.9 proton-j: link attach, detach, attach sequence

[jira] [Updated] (PROTON-154) proton-j: link attach, detach, attach sequence on single session does not result in a new link for the 2nd attach

2015-02-10 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-154: - Summary: proton-j: link attach, detach, attach sequence on single session does not result

[jira] [Assigned] (PROTON-154) link attach, detach, attach sequence on single session does not result in a new link for the 2nd attach

2015-02-10 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans reassigned PROTON-154: Assignee: Dominic Evans link attach, detach, attach sequence on single session does

[jira] [Commented] (PROTON-154) proton-j: link attach, detach, attach sequence on single session does not result in a new link for the 2nd attach

2015-02-10 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14314293#comment-14314293 ] Dominic Evans commented on PROTON-154: -- hit this issue on proton-j in HEAD, no longer

[jira] [Commented] (PROTON-775) ruby: message annotations send from a ruby client are invalid

2015-02-06 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14309067#comment-14309067 ] Dominic Evans commented on PROTON-775: -- [~mcpierce] do you have any thoughts of how

[jira] [Assigned] (PROTON-737) [PATCH] ruby: StateError not included in exceptions

2015-02-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans reassigned PROTON-737: Assignee: Dominic Evans (was: Darryl L. Pierce) [PATCH] ruby: StateError not included

[jira] [Closed] (PROTON-737) [PATCH] ruby: StateError not included in exceptions

2015-02-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans closed PROTON-737. [PATCH] ruby: StateError not included in exceptions

[jira] [Resolved] (PROTON-814) proton-c: pn_selector_select caches its return code from a previous error

2015-02-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-814. -- Resolution: Fixed Fix Version/s: 0.9 proton-c: pn_selector_select caches its return

[jira] [Closed] (PROTON-814) proton-c: pn_selector_select caches its return code from a previous error

2015-02-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans closed PROTON-814. proton-c: pn_selector_select caches its return code from a previous error

[jira] [Resolved] (PROTON-483) detach with closed=false (or unspecified) not handled

2015-02-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-483. -- Resolution: Fixed I believe this is fixed by PROTON-677 detach with closed=false

[jira] [Assigned] (PROTON-483) detach with closed=false (or unspecified) not handled

2015-02-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans reassigned PROTON-483: Assignee: Dominic Evans detach with closed=false (or unspecified) not handled

Re: proton-j/proton-c integration primer

2015-02-03 Thread Dominic Evans
Rafael Schloming-3 wrote These projects aren't actually quite as independent as they look. There is a common test suite that runs against both implementations to help keep them in sync with each other. This is the python test suite that lives underneath the top level tests/python directory.

[jira] [Created] (PROTON-814) proton-c: pn_selector_select caches its return code from a previous error

2015-02-03 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-814: Summary: proton-c: pn_selector_select caches its return code from a previous error Key: PROTON-814 URL: https://issues.apache.org/jira/browse/PROTON-814 Project

[jira] [Assigned] (PROTON-757) [PATCH] proton-c: transport errors are output to stderr in 0.8 onwards

2015-02-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans reassigned PROTON-757: Assignee: Dominic Evans [PATCH] proton-c: transport errors are output to stderr in 0.8

[jira] [Closed] (PROTON-757) [PATCH] proton-c: transport errors are output to stderr in 0.8 onwards

2015-02-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans closed PROTON-757. [PATCH] proton-c: transport errors are output to stderr in 0.8 onwards

[jira] [Closed] (PROTON-751) [PATCH] proton-c: pn_connect failures aren't exposed via messenger-error

2015-02-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans closed PROTON-751. [PATCH] proton-c: pn_connect failures aren't exposed via messenger-error

[jira] [Resolved] (PROTON-757) [PATCH] proton-c: transport errors are output to stderr in 0.8 onwards

2015-02-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-757. -- Resolution: Fixed Fix Version/s: 0.9 Pushed under 78e54ee [PATCH] proton-c: transport

[jira] [Assigned] (PROTON-751) [PATCH] proton-c: pn_connect failures aren't exposed via messenger-error

2015-02-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans reassigned PROTON-751: Assignee: Dominic Evans [PATCH] proton-c: pn_connect failures aren't exposed via

[jira] [Resolved] (PROTON-751) [PATCH] proton-c: pn_connect failures aren't exposed via messenger-error

2015-02-03 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans resolved PROTON-751. -- Resolution: Fixed Fix Version/s: 0.9 fixed in b9423d4 [PATCH] proton-c: pn_connect

Re: Are the apache CI builds broken?

2015-01-29 Thread Dominic Evans
On 29 Jan 2015, at 04:00, Alan Conway acon...@redhat.com wrote: The apache CI builds say I broke the proton build https://builds.apache.org/job/Qpid-proton-c/492/consoleText So of course I want to fix it. However the build output shows it never even gets to running the tests. It looks

RE: CorrelationId

2014-12-18 Thread Dominic Evans
xavier wrote Perhaps I must free some object, but in debug mode and checking the memory, memory grow up, each time I do pn_messenger_subscribe, pn_messenger_recv, etc. did you try running your binary via valgrind memcheck? -- View this message in context:

[jira] [Created] (PROTON-775) ruby: message annotations send from a ruby client are invalid

2014-12-15 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-775: Summary: ruby: message annotations send from a ruby client are invalid Key: PROTON-775 URL: https://issues.apache.org/jira/browse/PROTON-775 Project: Qpid Proton

[jira] [Created] (PROTON-776) proton-j: Message.decode doesn't validate all data types?

2014-12-15 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-776: Summary: proton-j: Message.decode doesn't validate all data types? Key: PROTON-776 URL: https://issues.apache.org/jira/browse/PROTON-776 Project: Qpid Proton

Re: CorrelationId

2014-12-10 Thread Dominic Evans
Hi Xavier, so 006FE360 is your messenger that is responsible for subscribing and receiving the messages based upon the selector. xavier wrote [006FE360]: - SASL [006FE360]:0 - @sasl-init(65) [mechanism=:PLAIN, initial-response=b\x00emc2\x00emc2] [006FE360]: - SASL [006FE360]:0 -

Re: CorrelationId

2014-12-09 Thread Dominic Evans
Hi Xavier, xavier wrote I posted my solution, it works, but I did some performance test, and it's not very good, I found why. In my solution, I start, and stop for any receiver the messenger, because if I don't do this, with my code (posted) I receive one time, the message with a filter

Re: no slowdown in 10 gigamessage test

2014-12-08 Thread Dominic Evans
Hi Michael, Michael Goulish wrote After getting complete data for a 10 gigamessage interbox test, ( proton-c, event interface, code here: https://github.com/mick-goulish/proton_c_clients.git ) ...I see that there is no gradual speed change at all over the duration of the test. I

[jira] [Updated] (PROTON-548) Proton-C driver and URL Parsers don't support AF_INET6 (IPv6)

2014-12-02 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-548: - Attachment: 08_fix_ipv6_windows.patch patch rebased against 0.8 Proton-C driver and URL Parsers

[jira] [Updated] (PROTON-548) Proton-C driver and URL Parsers don't support AF_INET6 (IPv6)

2014-12-02 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-548: - Attachment: (was: 08_fix_ipv6_windows.patch) Proton-C driver and URL Parsers don't support

[jira] [Updated] (PROTON-763) proton-c: pn_messenger_stop closes all links (detach w/ close=true) regardless of TTL / expiry

2014-12-02 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-763: - Description: As discussed on IRC. https://issues.apache.org/jira/browse/PROTON-677 (git commit

Re: heads up: javascript has landed

2014-11-29 Thread Dominic Evans
On 29 Nov 2014, at 14:20, Fraser Adams fraser.ad...@blueyonder.co.uk wrote: Hopefully this is useful to people, it's been something of a labour of love over the last year. I'm looking forward to checking this out now it has dropped into master. It was only when you recently posted on the

[jira] [Updated] (PROTON-758) proton-c: assertion failure when SASL fails (PN_SASL_FAIL)

2014-11-25 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-758: - Description: As discussed on IRC When SASL negotiation fails (e.g., wrong type, bad user+pass

[jira] [Commented] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-24 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14223514#comment-14223514 ] Dominic Evans commented on PROTON-752: -- [~mcpierce] so I had a look at the patch

[jira] [Created] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-19 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-752: Summary: Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations Key: PROTON-752 URL: https://issues.apache.org/jira/browse/PROTON-752

[jira] [Created] (PROTON-751) [PATCH] proton-c: pn_connect failures aren't exposed via messenger-error

2014-11-18 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-751: Summary: [PATCH] proton-c: pn_connect failures aren't exposed via messenger-error Key: PROTON-751 URL: https://issues.apache.org/jira/browse/PROTON-751 Project: Qpid

[jira] [Updated] (PROTON-751) [PATCH] proton-c: pn_connect failures aren't exposed via messenger-error

2014-11-18 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-751: - Attachment: 0001-If-pn_connect-fails-copy-io-error-to-messenger.patch patch attached [PATCH

[jira] [Updated] (PROTON-748) [PATCH] ruby: user doesn't have access to set settlement modes or messenger flags

2014-11-17 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-748: - Attachment: 0001-Add-support-for-Messenger-snd-rcv-modes-and-flags.patch patch attached [PATCH

[jira] [Updated] (PROTON-743) [PATCH] ruby: user doesn't have access to clear messenger error object

2014-11-13 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-743: - Attachment: 0001-Wrapper-pn_error-so-user-has-more-control-over-it.patch patch attached. [PATCH

Re: git migration complete

2014-11-06 Thread Dominic Evans
Few minor things I noticed: 1) the github.com/Apache/qpid-proton mirror has been deleted, but the git.apache.org mirror remains? Intentional? The GitHub mirror is still useful for tracking forks... 2) there doesn't appear to be any linkage between JIRAs and commits anymore? Does someone need to

[jira] [Commented] (PROTON-634) Packages are needed for Ubuntu Precise (12 LTS)

2014-11-06 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14200916#comment-14200916 ] Dominic Evans commented on PROTON-634: -- [~kgiusti] it seems this has already been

[jira] [Created] (PROTON-738) Debian + Ubuntu Packages need updating to 0.8

2014-11-06 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-738: Summary: Debian + Ubuntu Packages need updating to 0.8 Key: PROTON-738 URL: https://issues.apache.org/jira/browse/PROTON-738 Project: Qpid Proton Issue Type

[jira] [Created] (PROTON-736) ruby: unable to send binary data?

2014-11-04 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-736: Summary: ruby: unable to send binary data? Key: PROTON-736 URL: https://issues.apache.org/jira/browse/PROTON-736 Project: Qpid Proton Issue Type: Bug

[jira] [Created] (PROTON-737) [PATCH] ruby: StateError not included in exceptions

2014-11-04 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-737: Summary: [PATCH] ruby: StateError not included in exceptions Key: PROTON-737 URL: https://issues.apache.org/jira/browse/PROTON-737 Project: Qpid Proton

[jira] [Updated] (PROTON-737) [PATCH] ruby: StateError not included in exceptions

2014-11-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-737: - Attachment: 42_add_missing_exception_to_ruby_bindings.patch [PATCH] ruby: StateError

[jira] [Commented] (PROTON-736) ruby: unable to send binary data?

2014-11-04 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14196358#comment-14196358 ] Dominic Evans commented on PROTON-736: -- [~mcpierce] as discussed on IRC The problem

Re: clang-format for proton-c ?

2014-11-04 Thread Dominic Evans
Rafael Schloming-3 wrote I like the gradual migration concept. I do use git-blame / git-annotate enough for a wholesale changeover to be problematic. Is there an easy way to see what the actual diffs are so we have an idea of what the various format policies actually mean? well installing

blocking messenger and remote-idle-timeout heartbeating

2014-10-27 Thread Dominic Evans
When using messenger in non-blocking mode, it is possible to ensure that the empty frame heartbeats are sent by calling pn_messenger_work(timeout) on a regular interval (when no other send / recv operations are happening). However, when using messenger in blocking mode it is not obvious how one

Re: blocking messenger and remote-idle-timeout heartbeating

2014-10-27 Thread Dominic Evans
Dominic Evans wrote When using messenger in non-blocking mode, it is possible to ensure that the empty frame heartbeats are sent by calling pn_messenger_work(timeout) on a regular interval (when no other send / recv operations are happening). However, when using messenger in blocking mode

[jira] [Commented] (PROTON-725) pni_parse_url does not properly handle Base64 in URL

2014-10-24 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182596#comment-14182596 ] Dominic Evans commented on PROTON-725: -- [~E528527] this is what URL encoding

Re: CorrelationId

2014-10-09 Thread Dominic Evans
fadams wrote On 08/10/14 18:49, Rafael Schloming wrote: Actually I think it is possible to do this with messenger now that dominic's patches are in. You can access the link associated with any given address using pn_messenger_get_link() and configure it however you want to. --Rafael Oooh

Re: Proton 0.8 RC1

2014-10-03 Thread Dominic Evans
Rafael Schloming-3 wrote I've created 0.8 RC1 and posted it in the usual locations. The source can be found here: http://people.apache.org/~rhs/qpid-proton-0.8rc1/ I know it is a *very* minor issue, but just for tidyness could someone fix PROTON-618 for 0.8 ? -- View this message in

Re: Proton 0.8 RC1

2014-10-03 Thread Dominic Evans
fadams wrote And possibly PROTON-571 too? See the thread proton Messenger error handling/recovery REQUEST FEEDBACK! on the qpid user list, I *think* Dominic's patch should go some way to improving that (is that correct Dominic?) It does indeed. And PROTON-574 and PROTON-676 extend it to

Confirming pn_messenger_settle settlement disposition has been transmitted?

2014-09-22 Thread Dominic Evans
For operations such as `pn_link_close` its fairly easy to confirm that it has been transmitted over the network and that the appropriate @close response has been received from the remote end by doing a state check (e.g., if (!(pn_link_state(link) PN_REMOTE_CLOSED)) type thing) I previously

[jira] [Updated] (PROTON-576) proton-j: codec support for UTF-8 encoding and decoding appears broken?

2014-09-19 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-576: - Attachment: (was: 02_fix_stringtype_encode_decode.patch) proton-j: codec support for UTF-8

[jira] [Updated] (PROTON-576) proton-j: codec support for UTF-8 encoding and decoding appears broken?

2014-09-19 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-576: - Attachment: 02_fix_stringtype_encode_decode.patch Patch refreshed. proton-j: codec support

[jira] [Updated] (PROTON-571) proton-c: Messenger outputs errors to stderr rather than setting messenger-error

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-571: - Attachment: (was: 03_set_pn_error_when_printing_connection_errors.patch) proton-c: Messenger

[jira] [Updated] (PROTON-574) proton-c: Messenger doesn't indicate when connection is aborted for a SASL negotation failure

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-574: - Attachment: (was: 08_return_sasl_auth_errors_transport.h.patch) proton-c: Messenger doesn't

[jira] [Updated] (PROTON-574) proton-c: Messenger doesn't indicate when connection is aborted for a SASL negotation failure

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-574: - Attachment: (was: 08_return_sasl_auth_errors_messenger.c.patch) proton-c: Messenger doesn't

[jira] [Updated] (PROTON-574) proton-c: Messenger doesn't indicate when connection is aborted for a SASL negotation failure

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-574: - Attachment: (was: 08_return_sasl_auth_errors_transport.c.patch) proton-c: Messenger doesn't

[jira] [Created] (PROTON-669) proton-c: Messenger abstracts away connections, but it would be useful to fail fast for auth errors etc.

2014-09-11 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-669: Summary: proton-c: Messenger abstracts away connections, but it would be useful to fail fast for auth errors etc. Key: PROTON-669 URL: https://issues.apache.org/jira/browse

[jira] [Updated] (PROTON-548) Proton-C driver and URL Parsers don't support AF_INET6 (IPv6)

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-548: - Attachment: (was: 14_fix_ipv6_windows.patch) Proton-C driver and URL Parsers don't support

[jira] [Updated] (PROTON-548) Proton-C driver and URL Parsers don't support AF_INET6 (IPv6)

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-548: - Attachment: 08_fix_ipv6_windows.patch Proton-C driver and URL Parsers don't support AF_INET6

[jira] [Updated] (PROTON-669) proton-c: Messenger abstracts away connections, but it would be useful to fail fast for auth errors etc.

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-669: - Attachment: 07_add_messenger_route_check_on_start_transform.h.patch

[jira] [Updated] (PROTON-578) proton-c: windows/io.c prints Unknown error for all winsock errors

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-578: - Attachment: 10_fix_winsock_error_code_printing.patch proton-c: windows/io.c prints Unknown error

[jira] [Updated] (PROTON-578) proton-c: windows/io.c prints Unknown error for all winsock errors

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-578: - Attachment: (was: 17_fix_winsock_error_code_printing.patch) proton-c: windows/io.c prints

[jira] [Updated] (PROTON-571) proton-c: Messenger outputs errors to stderr rather than setting messenger-error

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-571: - Attachment: 02_set_pn_error_when_printing_connection_errors.patch

[jira] [Updated] (PROTON-571) proton-c: Messenger outputs errors to stderr rather than setting messenger-error

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-571: - Attachment: (was: 02_set_pn_error_when_printing_connection_errors.patch) proton-c: Messenger

[jira] [Created] (PROTON-670) proton-c: Messenger doesn't provide accessors for the links it is using

2014-09-11 Thread Dominic Evans (JIRA)
Dominic Evans created PROTON-670: Summary: proton-c: Messenger doesn't provide accessors for the links it is using Key: PROTON-670 URL: https://issues.apache.org/jira/browse/PROTON-670 Project: Qpid

[jira] [Updated] (PROTON-670) proton-c: Messenger doesn't provide accessors for the links it is using

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-670: - Attachment: 12_get_link_from_tracker_messenger.h.patch

[jira] [Commented] (PROTON-670) proton-c: Messenger doesn't provide accessors for the links it is using

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14129860#comment-14129860 ] Dominic Evans commented on PROTON-670: -- patches attached to allow user to determine

[jira] [Updated] (PROTON-671) proton-c: Messenger doesn't provide a way to set the link settlement modes it uses

2014-09-11 Thread Dominic Evans (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominic Evans updated PROTON-671: - Attachment: (was: 13_add_pn_messenger_set_settle_mode_functions_to_header.patch) proton-c

  1   2   >