[jira] [Updated] (PROTON-334) SASL Implementation for Proton C

2015-04-08 Thread Andrew Stitcher (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Stitcher updated PROTON-334: --- Summary: SASL Implementation for Proton C (was: SASL Plug-in for Proton) > SASL Implementatio

Re: codec changes

2015-04-08 Thread Rafael Schloming
On Wed, Apr 8, 2015 at 10:48 AM, Alan Conway wrote: > On Tue, 2015-04-07 at 17:57 -0400, Rafael Schloming wrote: > > Maybe I'm not following something, but I don't see how passing around > > allocation functions actually solves any ownership problems. I would > think > > the ownership problems co

Re: codec changes

2015-04-08 Thread Andrew Stitcher
On Wed, 2015-04-08 at 10:48 -0400, Alan Conway wrote: > ... > The issue is that we need buffer growth AND control over allocation. > pn_buffer_t forces use of malloc/free/realloc. That won't help if you're > trying to get the data into a buffer allocated by Go for example. I > agree a growable buff

Re: codec changes

2015-04-08 Thread Alan Conway
On Tue, 2015-04-07 at 17:57 -0400, Rafael Schloming wrote: > Maybe I'm not following something, but I don't see how passing around > allocation functions actually solves any ownership problems. I would think > the ownership problems come from pn_data_t holding onto a pointer > regardless of whether