Re: Protocol detection

2014-03-28 Thread Piotr Kliczewski
Ken, I use your sample and currently I am working on clean up code. In my case the closure is initiated by the client and I close all links then connection and socket at the end. When client socket is closed the server calls: close_input function which invokes _pn_transport.close_tail() After ca

Re: Protocol detection

2014-03-28 Thread Ken Giusti
Hi Piotr, see comments in-line: - Original Message - > From: "Piotr Kliczewski" > To: "Ken Giusti" > Cc: proton@qpid.apache.org, "Saggi Mizrahi" , "Barak > Azulay" > Sent: Friday, March 28, 2014 6:56:08 AM > Subject: Re: Protocol detection > > Ken, > > I use your sample and currentl

Re: Quotes in the message body

2014-03-28 Thread serega
Thanks for the explanation. Yes, I used recv client. I had to also call pn_data_next(body) to make it work, so it looks like so -- pn_data_t *body = pn_message_body(message); pn_data_next(body); pn_bytes_t bytes = pn_data_g

[jira] [Created] (PROTON-548) Proton-C driver doesn't support AF_INET6 (IPv6)

2014-03-28 Thread Ted Ross (JIRA)
Ted Ross created PROTON-548: --- Summary: Proton-C driver doesn't support AF_INET6 (IPv6) Key: PROTON-548 URL: https://issues.apache.org/jira/browse/PROTON-548 Project: Qpid Proton Issue Type: Bug

[jira] [Updated] (PROTON-548) Proton-C driver doesn't support AF_INET6 (IPv6)

2014-03-28 Thread Ted Ross (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Ross updated PROTON-548: Attachment: PROTON-548.patch Proposed fix. I've tested this with Dispatch and have verified that all of th

[jira] [Issue Comment Deleted] (PROTON-548) Proton-C driver doesn't support AF_INET6 (IPv6)

2014-03-28 Thread Ted Ross (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Ross updated PROTON-548: Comment: was deleted (was: Proposed fix. I've tested this with Dispatch and have verified that all of the

[jira] [Updated] (PROTON-548) Proton-C driver doesn't support AF_INET6 (IPv6)

2014-03-28 Thread Ted Ross (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Ross updated PROTON-548: Attachment: (was: PROTON-548.patch) > Proton-C driver doesn't support AF_INET6 (IPv6) > ---

Re: Quotes in the message body

2014-03-28 Thread Fraser Adams
On 28/03/14 15:20, serega wrote: Thanks for the explanation. Yes, I used recv client. I had to also call pn_data_next(body) to make it work, so it looks like so -- pn_data_t *body = pn_message_body(message); pn_data_next(bod

[jira] [Created] (PROTON-547) C Build failure on Windows

2014-03-28 Thread Chuck Rolke (JIRA)
Chuck Rolke created PROTON-547: -- Summary: C Build failure on Windows Key: PROTON-547 URL: https://issues.apache.org/jira/browse/PROTON-547 Project: Qpid Proton Issue Type: Bug Componen

[jira] [Updated] (PROTON-548) Proton-C driver doesn't support AF_INET6 (IPv6)

2014-03-28 Thread Ted Ross (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Ross updated PROTON-548: Attachment: PROTON-548.patch Proposed patch. > Proton-C driver doesn't support AF_INET6 (IPv6) >

[jira] [Updated] (PROTON-548) Proton-C driver doesn't support AF_INET6 (IPv6)

2014-03-28 Thread Ted Ross (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Ross updated PROTON-548: Description: The proton-c driver hard-codes its sockets to AF_INET, rather than using the address family a