Re: Question about developing plugins using the C++ API

2014-04-07 Thread Acácio Centeno
Hello, As it turns out, the transaction.error() call was not the cause of the problem. We made a minimalist plugin (attached), to simulate the problem, and it's still happening. Could someone tell us if we're using the API the wrong way? We're using v4.2.0 on CentOS 6, and we've recompiled ATS w

Re: Question about developing plugins using the C++ API

2014-04-02 Thread Acácio Centeno
We found out we were using the API in a wrong way, we were calling transaction.error() and this was causing the problem. Sorry for the inconvenience. On Tue, Apr 1, 2014 at 2:25 PM, Brian Geffon wrote: > Hi, > This sounds like a bug in the C++ API, would you mind creating a Jira > ticket and as

Re: Question about developing plugins using the C++ API

2014-04-01 Thread Brian Geffon
Hi, This sounds like a bug in the C++ API, would you mind creating a Jira ticket and assigning it to me? Thanks. Brian On Tue, Apr 1, 2014 at 6:36 AM, Acácio Centeno wrote: > Hello, > > We're creating a plugin that blocks/redirects some requests based on its > properties. We're using the C++ AP

Question about developing plugins using the C++ API

2014-04-01 Thread Acácio Centeno
Hello, We're creating a plugin that blocks/redirects some requests based on its properties. We're using the C++ API, and created a RemapPlugin because we need different configurations for different mappings. On the DoRemap method, if we figure we need to block the request, we create a Transaction