Re: how can a plug-in block a POST request and return its own response?

2016-11-04 Thread Brian Rectanus
Hi Rob, You should take a look at ironbee that does this: https://github.com/ironbee/ironbee/tree/master/servers/trafficserver -B On Fri, Nov 4, 2016 at 6:48 AM Rob Maidment wrote: > Hello, > > It was good to meet everyone at the summit in Sunnyvale. > > I raised this question with a few peop

Re: Generating a custom error response in the TS_EVENT_HTTP_SEND_REQUEST_HDR hook

2015-06-05 Thread Brian Rectanus
Ah, I misread what you said. Reenable with ERROR, then set the status in SEND_RESPONSE_HDR. I was trying to do that in SEND_REQUEST_HEADER and just need to delay this. Thanks! -B -- Brian Rectanus On Fri, Jun 5, 2015 at 9:55 PM, Uri Shachar wrote: > Hi Brian, > > I'm not s

Re: Generating a custom error response in the TS_EVENT_HTTP_SEND_REQUEST_HDR hook

2015-06-05 Thread Brian Rectanus
seems to hang and eventually timeout waiting for the body. This timeout also overrides the custom error page I just set. So, generating the custom error is not the issue, but rather preventing the transaction from being forwarded to the origin is the issue here. Cheers! -B -- Brian Rectanus On

Generating a custom error response in the TS_EVENT_HTTP_SEND_REQUEST_HDR hook

2015-06-05 Thread Brian Rectanus
the request body (at least part - for example check file data is the type that is expected) and still prevent the request headers/data from being sent to the origin server? Cheers! -B -- Brian Rectanus

Release Management wiki page Inconsistencies

2015-05-27 Thread Brian Rectanus
ews. Additionally, what about putting the support end date on the download page for the LTS releases? Might be a better place to manage the official support dates. Cheers! -B -- Brian Rectanus

Questions on bnull_transform logic

2015-03-17 Thread Brian Rectanus
vantage/disavantage to doing this either way? With some basic tests, I see that I can get up to 10ms latency waiting for the IMMEDIATE to trigger. I need to verify this with some better tests, but calling the handle_output() directly makes this inconsistency seem to go away. Cheers! -B -- Brian Rectanus

Re: Performance tuning advice for plugin

2015-03-12 Thread Brian Rectanus
Same, threads dropped to 4: 16,000 tx/s Same, threads dropped to 2: 14,000 tx/s Really no CPU usage change in any tests. Cheers! -B -- Brian Rectanus On Wed, Mar 11, 2015 at 2:41 AM, Brian Geffon wrote: > I've also observed unexplained latency when it comes to transformations, I >

Re: Performance tuning advice for plugin

2015-03-12 Thread Brian Rectanus
On Wednesday, March 11, 2015, Nick Kew wrote: > On Wed, 2015-03-11 at 03:10 -0500, Brian Rectanus wrote: > > I certainly have some cycles if someone can help point me in the right > > direction. Right now I am at a loss as to where to dig. Profiler just > shows > >

Re: Performance tuning advice for plugin

2015-03-11 Thread Brian Rectanus
86k 122k| 0 0 |7993 7175 5 11 84 0 0 0| 0 0 | 369k 502k| 0 0 | 15k 13k -B -- Brian Rectanus On Wed, Mar 11, 2015 at 2:41 AM, Brian Geffon wrote: > I've also observed unexplained latency when it comes to transformations, I > think it's time that we

Performance tuning advice for plugin

2015-03-11 Thread Brian Rectanus
ewhat used. * I expect the threads to be saturated with work, but they are mostly idle. Any ideas why the complete lack of CPU/thread utilization? Any ideas what to look at? Any ideas what I can enable (tools I could use) to see more insight into what is happening? Cheers! -B -- Brian Rectanus

[API REVIEW FOLLOWUP] Adding missing TSTextLogObjectRollingSizeMbSet() function

2014-09-19 Thread Brian Rectanus
am not sure what this may affect at this point, I am not sure if this is a good idea or not, but worth a look. Cheers! -B -- Brian Rectanus

Re: API Review of adding missing TSTextLogObjectRollingSizeMbSet() function

2014-09-15 Thread Brian Rectanus
On Tue, Sep 9, 2014 at 10:42 AM, James Peach wrote: > > On Sep 9, 2014, at 6:28 AM, Brian Rectanus wrote: > > > On Monday, September 8, 2014, Leif Hedstrom > > wrote: > > > >> > >> On Sep 8, 2014, at 9:43 PM, James Peach wrote: > >> &

API Review of adding missing TSTextLogObjectRollingSizeMbSet() function

2014-09-09 Thread Brian Rectanus
On Monday, September 8, 2014, Leif Hedstrom > wrote: > > On Sep 8, 2014, at 9:43 PM, James Peach wrote: > > > On Sep 5, 2014, at 2:59 PM, Brian Rectanus wrote: > > > >> All, > >> > >> I have a pull request in that is a trivial patch to add a lo

API Review of adding missing TSTextLogObjectRollingSizeMbSet() function

2014-09-05 Thread Brian Rectanus
/apache/trafficserver/pull/107.patch Simple addition of: /** Set the rolling size. rolling_size_mb specifies the size in MB when log rolling should take place. */ tsapi void TSTextLogObjectRollingSizeMbSet(TSTextLogObject the_object, int rolling_size_mb); Cheers! -B -- Brian Rectanus

Re: git submodule issues

2014-04-15 Thread Brian Rectanus
d20c60fd9b Merge: 4c2b23f bab6d34 Author: Brian Rectanus Date: Wed Mar 26 23:04:52 2014 -0500 luajit: Sync with upstream v2.0.3. Conflicts: libs/luajit-2.0-ironbee/Makefile libs/luajit-2.0-ironbee/src/Makefile commit bab6d34e7a07d90a3d90d6128525669f5f14f0f8 Author: Bria

4.1.2 on OSX with reclaimable-freelist aborts immediatly

2014-01-10 Thread Brian Rectanus
? () No symbol table info available. #2 0x in ?? () No symbol table info available. -- Brian Rectanus

Re: Git tag for 4.1.2

2014-01-06 Thread Brian Rectanus
Is there a problem with tagging the last rc version with the actual released version when you release? That is, part of the release process being: git tag -s 4.1.2 4.1.2-rc0 If 4.1.2-rc0 is signed and trusted, then creating another tag off this seems fine. -B -- Brian Rectanus | brecta

Git tag for 4.1.2

2014-01-06 Thread Brian Rectanus
I sent this previously, but as a reply to the announcement which may have gotten filtered... Please, can someone tag 4.1.2 in git? There is only a 4.1.2-rc0, currently. Cheers! -B -- Brian Rectanus | brecta...@qualys.com

Re: [ANNOUNCE] Apache Traffic Server 4.1.2 is released!

2014-01-03 Thread Brian Rectanus
There does not appear to be a 4.1.2 tag in git - only 4.1.2-rc0. Can someone please tag 4.1.2? Thanks, -B -- Brian Rectanus On Tue, Dec 17, 2013 at 11:48 AM, Igor Galić wrote: > Apache Traffic Server v4.1.2 Released > > The Apache Software Foundation and the Apache Traff