Re: Timers mechanism as part of a plugin

2016-12-20 Thread Uri Shachar
On Dec 20, 2016 10:02 AM, Assaf Cohen wrote: > Is there a way to create timer, register it and get notified on expiration? You can use TSContCreate & TSContSchedule/TSContScheduleEvery to create an arbitrary callback that will be called when a timer expires/periodically. Cheers,

Re: Deprecation of SSL v2/3

2016-04-10 Thread Uri Shachar
> On Apr 10, 2016, at 7:42 AM, Phil Sorber wrote: > > I'd like to propose that we deprecate SSLv2 and SSLv3 in ATS 6.2.0 and > remove it in 7.0.0. > > Currently our defaults do not enable them and have been that way for about > a year now. For 6.2.0 I'd like to mark them deprecated in the > docu

RE: Proposal: Implementing log rotation (issue TS-306)

2015-06-18 Thread Uri Shachar
Hi Daniel, Note that we already support your first solution via syslog (for traffic.out and diags.log) -- you can set a different backend for log types/priorities (check out proxy.config.diags.output. Regarding the second option -- If the logging volume is small you can probable get by wi

Re: Generating a custom error response in the TS_EVENT_HTTP_SEND_REQUEST_HDR hook

2015-06-05 Thread Uri Shachar
Hi Brian, I'm not sure how you're getting this behavior - reenabling with TS_EVENT_HTTP_ERROR on the TS_EVENT_HTTP_SEND_REQUEST_HDR should not release the headers to the upstream server. The connection should be established and immediately torn down without any data being transmitted by the

RE: Generating a custom error response in the TS_EVENT_HTTP_SEND_REQUEST_HDR hook

2015-06-05 Thread Uri Shachar
Hi Brian, You need to call TSHttpTxnErrorBodySet, hook on the SEND_RESPONSE_HDR hookpoint and reenable the transaction. When you get the SEND_RESPONSE_HDR event you can set the status/headers as desired. Cheers, Uri

RE: [VOTE] Release Apache Traffic Server 4.2.0 (RC1)

2014-03-17 Thread Uri Shachar
On Fri, 7 Mar 2014 18:51:42 -0700 Phil Sorber wrote: > Subject: [VOTE] Release Apache Traffic Server 4.2.0 (RC1) > From: sor...@apache.org > To: us...@trafficserver.apache.org; dev@trafficserver.apache.org > > Hello All, > > It's been a while since RC0, and we've tracked down quite a few bugs. So

RE: Null transform slow down connection

2014-01-06 Thread Uri Shachar
On Mon, 6 Jan 2014 16:59:46 +0200 Roee Gil wrote > Subject: Null transform slow down connection snip > I'm trying to understand what are the trade off when I use transform. > so I did a speed test at this site: http://www.speedtest.net/ > > and checked it without ATS, with ATS with no plugins and f

RE: Range transform problems

2013-12-18 Thread Uri Shachar
On Wed, 11 Dec 2013 10:27:33 -0600 Alan M. Carroll wrote: > Subject: Re: Range transform problems > > Tuesday, December 10, 2013, 10:29:36 PM, you wrote: > >> On Dec 9, 2013, at 2:53 PM, Alan M. Carroll >> wrote: > >>> I've been failing at solving the range transform issue for quite a while. I

RE: API review process proposal

2013-10-18 Thread Uri Shachar
On Wed, 9 Oct 2013 14:33:05 -0700 James Peach wrote: > Hi all, > > I'd like to propose that we add formal API reviews to out development > process. The rationale for this is: > - API is important enough that we should go to extra effort to make it > consistent and straightforward to use > - API c

RE: git commit: TS-2268 Add support for opening protocol traffic sockets through the traffic_manager.

2013-10-18 Thread Uri Shachar
On Thu, 17 Oct 2013 15:49:19 -0700 James Peach wrote: > On Oct 17, 2013, at 3:23 PM, Uri Shachar wrote: >> On Thu, 17 Oct 2013 11:45:41 -0700 James Peach wrote: >>> On Oct 13, 2013, at 2:15 PM, Uri Shachar wrote: >>>> On Wed, 9 Oct 2013 10:41:42 -0700 James Peach w

RE: git commit: TS-2268 Add support for opening protocol traffic sockets through the traffic_manager.

2013-10-17 Thread Uri Shachar
On Thu, 17 Oct 2013 11:45:41 -0700 James Peach wrote: > On Oct 13, 2013, at 2:15 PM, Uri Shachar wrote: >> On Wed, 9 Oct 2013 10:41:42 -0700 James Peach wrote: >>> On Oct 8, 2013, at 1:19 PM, ushac...@apache.org wrote: >>> >>>> Updated Branches: >&g

RE: git commit: TS-2268 Add support for opening protocol traffic sockets through the traffic_manager.

2013-10-13 Thread Uri Shachar
Thanks for the review James. I agree with most of your points -- with a couple of exceptions: On Wed, 9 Oct 2013 10:41:42 -0700 James Peach wrote: > On Oct 8, 2013, at 1:19 PM, ushac...@apache.org wrote: > > > Updated Branches: > > refs/heads/master 7ba121c9a -> 3c0c835c1 > > > > > > TS-226

RE: can traffic server transform delay the headers response ?

2013-09-12 Thread Uri Shachar
On Wed, 11 Sep 2013 21:49:56 Dani wrote: > Subject: can traffic server transform delay the headers response ? ... > i would like to edit the http headers returned to the browser based on the > analysis i do in the transform, but i found that the headers are already > returned to the browser BEFORE

RE: [VOTE] Release v3.3.2

2013-04-17 Thread Uri Shachar
+1 Compiled, regression passes and running as forward proxy on CentOS 6.3 and Ubuntu 12.04 > Date: Mon, 15 Apr 2013 16:35:35 -0600 > From: zw...@apache.org > To: dev@trafficserver.apache.org; us...@trafficserver.apache.org > Subject: [VOTE] Release v3.3.2 > > Hi all, > > I've prepared a release

RE: TS-857 and finer grained locking

2012-03-15 Thread Uri Shachar
> Date: Wed, 14 Mar 2012 19:29:43 -0700 > From: jplev...@acm.org > > On Wed, Mar 14, 2012 at 8:22 AM, Alan M. Carroll < > a...@network-geographics.com> wrote: > > > > > > There is, however, one situation where this simple and safe order of > > events > > > is not followed. That is connection sh

Transaction specific debugging mechanism

2012-01-03 Thread Uri Shachar
Hi,   When attempting to troubleshoot issues on a production ATS system, it is often impossible/difficult to turn on any of the 'high-volume' debug tags like http due to the performance impact. I have a 'transaction specific debugging' implementation in an old pre-opensource TrafficServer

RE: TSContSched on continuations that are called by HttpSM hooks can lead to crashes/odd behavior

2011-10-08 Thread Uri Shachar
should be shared over as much of the connection as possible as > acquiring it gives access to all state that it covers. Normally plenty of > parallelism to go around. > > john > > 2011/10/3 Uri Shachar > > > > > Hi, > > > > I'm not sure if this is

TSContSched on continuations that are called by HttpSM hooks can lead to crashes/odd behavior

2011-10-03 Thread Uri Shachar
Hi, I'm not sure if this is a known behavior (and should just be better documented), a bug or just bad practices on my part -- Flow goes like this: 1) In a global hook, create a continuation X and attach it to several hookpoints in a transaction Y. 2) When called through one of the hook

mime_parser_parse can look beyond the end of buffer

2010-11-14 Thread Uri Shachar
rs are formatted ok), with all headers in the buffer being available. The parsed data will sometimes not contain the last header in the buffer.       Cheers,   Uri Shachar