Re: Sending server

2015-09-09 Thread Gordon Sim
On 09/09/2015 07:09 AM, Tomáš Šoltys wrote: Thanks a lot Gordon! And is there a suggested/proper way how to do it using reactor API? That example does use the reactor. If you mean an example that doesn't use any of the utilities and helper classes on top of that, then you could look at the

Re: Bug in proton interop suite??

2015-09-09 Thread Ted Ross
I don't think this is a valid data sequence. Literally, it is a binary sequence of seven octets where the internal encoding of a string is coincidental. Binary is not a compound type and does not contain sub-fields. -Ted On 09/08/2015 05:36 PM, aconway wrote: I'm doing some interop work

Re: Bug in proton interop suite??

2015-09-09 Thread Chuck Rolke
https://issues.apache.org/jira/browse/PROTON-308 More documentation required... - Original Message - > From: "aconway" > To: "proton" > Sent: Tuesday, September 8, 2015 5:36:39 PM > Subject: Bug in proton interop suite?? > > I'm doing some

SASL negotiation w/ EXTERNAL

2015-09-09 Thread Clemens Vasters
Hi Qpid Proton, tl;dr: I'm working with Proton-C 0.10 and would like to have explicit override options to keep Proton-C from automatically picking up on EXTERNAL when being offered by the server - while using the messenger layer. By what I can see, currently Proton-C's messenger automatically

Re: Bug in proton interop suite??

2015-09-09 Thread aconway
On Wed, 2015-09-09 at 08:06 -0400, Chuck Rolke wrote: > https://issues.apache.org/jira/browse/PROTON-308 > > More documentation required... That's not it. The python code that generates the message does indeed use "hello" so I would expect a vbin containing the bytes "hello", but what I see is a

Re: Qpid Proton pn_data_put_ubyte crash updating pn_message_properties data

2015-09-09 Thread Ken Giusti
Hi Frank, Sounds like it may be this bug: https://issues.apache.org/jira/browse/PROTON-892 what is the value of data->capacity when the pni_data_grow method is called? -K - Original Message - > From: "Frank Quinn" > To: proton@qpid.apache.org > Sent: Tuesday,

Re: SASL negotiation w/ EXTERNAL

2015-09-09 Thread Andrew Stitcher
On Wed, 2015-09-09 at 09:27 +, Clemens Vasters wrote: > Hi Qpid Proton, > > tl;dr: I'm working with Proton-C 0.10 and would like to have explicit > override options to keep Proton-C from automatically picking up on > EXTERNAL when being offered by the server - while using the messenger >

RE: SASL negotiation w/ EXTERNAL

2015-09-09 Thread Clemens Vasters
Hi Andrew, I agree that the server should only offer EXTERNAL when the client has presented a valid cert. We have the case that we still want to use PLAIN or ANONYMOUS even in that case, however, since we'll want to use a particular permissions-bound key not representable by the cert, or

[jira] [Created] (PROTON-991) [C] Generated code redefines constants

2015-09-09 Thread Chuck Rolke (JIRA)
Chuck Rolke created PROTON-991: -- Summary: [C] Generated code redefines constants Key: PROTON-991 URL: https://issues.apache.org/jira/browse/PROTON-991 Project: Qpid Proton Issue Type: Bug

Re: Linker errors with C++ examples

2015-09-09 Thread Chuck Rolke
I get the same error with VS2012. Taking a look now... - Original Message - > From: "Clemens Vasters" > To: proton@qpid.apache.org > Sent: Wednesday, September 9, 2015 2:39:03 PM > Subject: Linker errors with C++ examples > > Trying to build current qpid-proton

[jira] [Commented] (PROTON-988) pn_messenger_set_flags does not support new SASL flag correctly

2015-09-09 Thread Andrew Stitcher (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737538#comment-14737538 ] Andrew Stitcher commented on PROTON-988: It probably doesn't matter here much, but it's not good

Re: SASL negotiation w/ EXTERNAL

2015-09-09 Thread Andrew Stitcher
On Wed, 2015-09-09 at 15:57 +, Clemens Vasters wrote: > Hi Andrew, > > I agree that the server should only offer EXTERNAL when the client > has presented a valid cert. > > We have the case that we still want to use PLAIN or ANONYMOUS even in > that case, however, since we'll want to use a

[jira] [Commented] (PROTON-988) pn_messenger_set_flags does not support new SASL flag correctly

2015-09-09 Thread Andrew Stitcher (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737502#comment-14737502 ] Andrew Stitcher commented on PROTON-988: I think, on balance, (at the cost of making more noise

[jira] [Commented] (PROTON-988) pn_messenger_set_flags does not support new SASL flag correctly

2015-09-09 Thread Clemens Vasters (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737509#comment-14737509 ] Clemens Vasters commented on PROTON-988: You can always use set_flags( get_flags() | new_flag) to

Re: Linker errors with C++ examples

2015-09-09 Thread aconway
On Wed, 2015-09-09 at 15:07 -0400, Chuck Rolke wrote: > I get the same error with VS2012. Taking a look now... > > - Original Message - > > From: "Clemens Vasters" > > To: proton@qpid.apache.org > > Sent: Wednesday, September 9, 2015 2:39:03 PM > > Subject: Linker

[jira] [Created] (PROTON-990) [C++ binding] Examples fail to link in Visual Studio 2012, 2015

2015-09-09 Thread Chuck Rolke (JIRA)
Chuck Rolke created PROTON-990: -- Summary: [C++ binding] Examples fail to link in Visual Studio 2012, 2015 Key: PROTON-990 URL: https://issues.apache.org/jira/browse/PROTON-990 Project: Qpid Proton

[jira] [Commented] (PROTON-990) [C++ binding] Examples fail to link in Visual Studio 2012, 2015

2015-09-09 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737591#comment-14737591 ] ASF subversion and git services commented on PROTON-990: Commit

[jira] [Commented] (PROTON-990) [C++ binding] Examples fail to link in Visual Studio 2012, 2015

2015-09-09 Thread Alan Conway (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737597#comment-14737597 ] Alan Conway commented on PROTON-990: Fixed, not sure why this commit comment was not automatically