bnull-transform.c: SIGPIPE on connection termination

2011-08-08 Thread Brian Geffon
Hello, I'm using the bnull-transform example and sometimes if connections are terminated abruptly it can cause a SIGPIPE, I've spent a good amount of time trying to track down the cause and have been unable to do so. Also, the bnull-transform.c code isn't up to date with the latest API so I

TSContSchedule: Internal Continuation has event_count 0

2011-08-09 Thread Brian Geffon
Hi, I'm using ATS 3.0.1 and when using TSContSchedule its causing the assertion on line 4124 in InkAPI.cc to be triggered. That corresponds to the following code: if (ink_atomic_increment((int *) i-m_event_count, 1) 0) ink_assert (!not reached); Using GDB I checked and yes m_event_count is

Re: SEGFAULT on MUTEX_TRY_LOCK_FOR

2011-08-16 Thread Brian Geffon
ATS 3.0.1 on RedHat Enterprise Linux 6.1 On Tue, Aug 16, 2011 at 7:41 PM, Leif Hedstrom zw...@apache.org wrote: On 08/16/2011 08:17 PM, Brian Geffon wrote: Hi, for some reason I'm getting a segfault originating in UnixEThread.cc:130 from the macro expansion of MUTEX_TRY_LOCK_FOR. I've been

Re: SEGFAULT on MUTEX_TRY_LOCK_FOR

2011-08-16 Thread Brian Geffon
I should also mention that this never happens on OS X, it only appears to happen on RHEL. On Tue, Aug 16, 2011 at 7:41 PM, Leif Hedstrom zw...@apache.org wrote: On 08/16/2011 08:17 PM, Brian Geffon wrote: Hi, for some reason I'm getting a segfault originating in UnixEThread.cc:130 from

Re: TSNetConnect now takes host byte ordered port number

2011-08-23 Thread Brian Geffon
After looking at 3.1.0, is it possible that TSFetchUrl might also have the same problem? On Tue, Aug 23, 2011 at 9:48 AM, Alan M. Carroll a...@network-geographics.com wrote: Because of the change over to IPv6 in the internals, ports are stored differently. Let me take a look ... Yeah,

Why doesn't TSContCall increment m_event_count

2011-08-27 Thread Brian Geffon
Hi, I was hoping someone might be able to shed some light on this issue, it appears that TSContCall never increments m_event_count; however, in INKVConnInternal::handle_event it calls handle_event_count() which decrements the event counter...why? Is this intended behavior or perhaps a bug? All

High idle cpu utilization on RHEL6

2011-09-28 Thread Brian Geffon
Hi, I'm encountering something strange with ATS3.0.1 on Red Hat Enterprise Linux 6, using a vanilla build with no modules enabled and the default records.config /w zero entries in the remap file, ATS is idling at very high CPU (around 15-20%). root 13509 0.0 0.0 58512 2392 ?Ss

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

2011-10-03 Thread Brian Geffon
Hi, This sounds like a bug report I filed previously, https://issues.apache.org/jira/browse/TS-935. When using TSContCall with TS_EVENT_IMMEDATE or TS_EVENT_TIMEOUT will cause an assertion to be thrown in INKContInternal::handle_event_count, this is a bug. Obvious quick fix is to not use those

--enable-debug configure flag

2011-10-10 Thread Brian Geffon
Hi, I was wondering if anyone knew exactly what --enable-debug does, does it just add -g and -O0? Thanks, Brian

Chunking Content-Encoding in Transformation Plugin

2011-10-17 Thread Brian Geffon
Hi, below is the use case for a transformation plugin I'm writing: 1) TSVConnWrite w/ INT64_MAX because I'm not sure exactly how much data my transformation plugin will generate. 2) As the transformation plugin generates data it copies to the buffer (TSIOBufferWrite) and calls TSVIOReenable to

Setting Response Content without transformation plugin

2011-12-07 Thread Brian Geffon
Hello, I've run into a situation where I would like to set the response to a request to certain content. I know that i can use TSHttpTxnSetHttpRetBody and TSHttpTxnSetHttpRetStatus the problem with this is that TSHttpTxnSetHttpRetBody sets the HttpTransact::State-return_xbuf to accomplish this

RE: inconsistent read IOBuffer results

2012-01-02 Thread Brian Geffon
I think you might want TSIOBufferBlockReadAvail and not TSIOBufferReaderAvail. Brian From: James Peach [jamespe...@me.com] Sent: Saturday, December 31, 2011 10:07 PM To: dev@trafficserver.apache.org Subject: inconsistent read IOBuffer results Hi all, In

Re: inconsistent read IOBuffer results

2012-01-02 Thread Brian Geffon
to read count += bytes_in_block; } Does that help? On Mon, Jan 2, 2012 at 5:45 PM, James Peach jamespe...@me.com wrote: On 02/01/2012, at 1:18 PM, James Peach wrote: On 02/01/2012, at 11:30 AM, Brian Geffon wrote: I think you might want TSIOBufferBlockReadAvail

Re: inconsistent read IOBuffer results

2012-01-02 Thread Brian Geffon
/2/12 6:04 PM, Brian Geffon briangef...@gmail.com wrote: I dont think this is a bug, your usage of TSIOBufferBlockReadStart() is incorrect. The third parameter which you call nbytes is set to the number of bytes remaining in the buffer block after the read. Since you're setting it to zero before

RE: inconsistent read IOBuffer results

2012-01-03 Thread Brian Geffon
: Monday, January 02, 2012 6:47 PM To: dev@trafficserver.apache.org Subject: Re: inconsistent read IOBuffer results On 02/01/2012, at 6:13 PM, Brian Geffon wrote: My last email was incorrect, it will correctly return the pointer to the memory of the block, but avail will not be touched and you

How to get records.config data before main() (TS-1075).

2012-01-25 Thread Brian Geffon
Hi everyone, I was hoping someone might have an idea on this. So EventProcessor relies on two #defines when it's constructed namely MAX_EVENT_THREADS and MAX_THREADS_IN_EACH_TYPE (see I_EventProcessor.h), as of now they are both set to 512. Unfortunately, if you wanted to use ATS to listen on a

TS-1035: Ready to commit? Comments Please.

2012-01-26 Thread Brian Geffon
Hi All, While trying to use ATS with a very large number of ports (350+) ATS will segfault as a result of running out of event threads with no type of check or assertion. The patch submitted to fix this bug solves that problem, additionally, it allows MAX_EVENT_THREADS and MAX_THREADS_PER_TYPE to

Re: TS-1035: Ready to commit? Comments Please.

2012-01-26 Thread Brian Geffon
My patch was developed and tested against trunk. I'm a little confused because the -A option was working 2 days ago, is there a new commit that I missed? Was it your TS-1077? Brian On Jan 26, 2012, at 10:51 PM, Alan M. Carroll a...@network-geographics.com wrote: Without looking at the

Re: svn commit: r1236531 - /trafficserver/traffic/branches/3.0.x/STATUS

2012-01-27 Thread Brian Geffon
So from what I can tell, the frequent_accept deal was not for TS-876, it was for TS-919, in the following commit: http://svn.apache.org/viewvc?view=revisionrevision=1159655. So the fix he committed for TS-876 was in UrlRewrite.cc and was a missing constructor initialization. So I'll submit a new

Re: svn commit: r1236531 - /trafficserver/traffic/branches/3.0.x/STATUS

2012-01-27 Thread Brian Geffon
Ok, I've created a new patch that merges both commits, i'll re-add to STATUS. Brian On Fri, Jan 27, 2012 at 3:46 PM, Brian Geffon briangef...@gmail.com wrote: So from what I can tell, the frequent_accept deal was not for TS-876, it was for TS-919, in the following commit: http

TSTransformCreate() vs. TSVConnCreate()

2012-02-01 Thread Brian Geffon
Hi All, I'm trying to understand something about TSTransformCreate(). Basically all it does is wrap TSVConnCreate to create a new vconn using the Mutex of the TSHttpTxn: return TSVConnCreate(event_funcp, TSContMutexGet(reinterpret_castTSCont(txnp))); I don't fully understand why the VConn

Re: TSTransformCreate() vs. TSVConnCreate()

2012-02-01 Thread Brian Geffon
Also, according to InkAPI.cc (see the comment above TSVConnCreate) it shouldn't be used. So if that's the case, how else can you create a Vconn? On 2/1/12 11:09 AM, Brian Geffon briangef...@gmail.com wrote: Hi All, I'm trying to understand something about TSTransformCreate(). Basically all

Re: [VOTE] Release Apache Traffic Server v3.1.2

2012-02-05 Thread Brian Geffon
Tested on OS X, builds and passes regression tests. +1 from me. Brian On 2/4/12 6:45 PM, Leif Hedstrom zw...@apache.org wrote: On 2/3/12 7:05 PM, Leif Hedstrom wrote: minotaur (01:55) 257/0 $ ls -lrt total 2568 -rw-r--r-- 1 zwoop zwoop 2493898 Feb 4 01:55

Re: Stable Release - call for last votes

2012-02-09 Thread Brian Geffon
Nick, Look at InkAPC.cc in 3.0.x that declaration in ts.h.in doesn't match the definition, that's the problem. Brian. On Feb 9, 2012, at 6:25 AM, Igor Galić i.ga...@brainsware.org wrote: - Original Message - On 9 Feb 2012, at 11:57, Nick Kew wrote: [snip] @@ -57,22 +57,23 @@

Re: Stable Release - call for last votes

2012-02-09 Thread Brian Geffon
(const char* headers, int request_len, unsigned int ip, int port , TSCont contp, TSFetchWakeUpOptions callback_options,TSFetchEvent events) Brian On Thu, Feb 9, 2012 at 9:23 AM, Nick Kew n...@apache.org wrote: On 9 Feb 2012, at 16:31, Brian Geffon wrote: Nick, Look at InkAPC.cc in 3.0.x

Re: Stable Release - call for last votes

2012-02-09 Thread Brian Geffon
Again, this is a broken API only on 3.0.x branch, trunk is fine. Brian On Thu, Feb 9, 2012 at 9:30 AM, Brian Geffon briangef...@gmail.com wrote: Nick, Are you on the 3.0.x branch because I just did: bgeffon-mn:trafficserver bgeffon$ git pull Already up-to-date. bgeffon-mn:trafficserver

ATS 3.0.3 broken ts.h issue

2012-02-15 Thread Brian Geffon
Hello Everyone, As some may or may not know, the RC for ATS 3.0.3 has a minor issue in that the ts.h generated does not correctly set the minor version or the integer version number in ts.h. Do we have any proposals on how to deal with this? One issue that immediately comes to mind is that in

Re: ATS 3.0.3 broken ts.h issue

2012-02-15 Thread Brian Geffon
Because according to zwoop, once the dist has been pushed they aren't really sure how to fix it..it's technically released, we just haven't publicly announced it. On Wed, Feb 15, 2012 at 8:56 PM, James Peach jpe...@apache.org wrote: On 15/02/2012, at 8:55 PM, Brian Geffon wrote: And never

Re: ATS 3.0.3 broken ts.h issue

2012-02-15 Thread Brian Geffon
I like that idea. Igor, thoughts? Brian On Feb 15, 2012, at 9:02 PM, James Peach jpe...@apache.org wrote: On 15/02/2012, at 8:58 PM, Brian Geffon wrote: Because according to zwoop, once the dist has been pushed they aren't really sure how to fix it..it's technically released, we just

3.0.4 stable release

2012-02-21 Thread Brian Geffon
Hello All, We are preparing for a 3.0.4 stable release, if anyone has backport proposals please add them to the STATUS and JIRA. As always don't forget to vote on proposed backports. Brian

Re: 3.0.4 stable release

2012-02-24 Thread Brian Geffon
performance.try3.diff) Jira: https://issues.apache.org/jira/browse/TS-880 +1: briang Thanks! Brian On Tue, Feb 21, 2012 at 6:56 PM, Brian Geffon bri...@apache.org wrote: Hello All, We are preparing for a 3.0.4 stable release, if anyone has backport proposals please add them to the STATUS

Re: 3.0.4 stable release

2012-02-25 Thread Brian Geffon
Hey Igor, I'm gonna do it today, just didn't have time last night after work. Thanks though. Brian On Feb 25, 2012, at 5:46 AM, Igor Galić i.ga...@brainsware.org wrote: - Original Message - Hello Again, It's been a few days the the number of votes on 3.0.4 backports has been

ATS 3.0.4 in Jira

2012-02-25 Thread Brian Geffon
Hello, Can someone create 3.0.4 as a release version in JIRA so I can correctly mark tickets as backported. I don't think I have permission in Jira to create a new version. Thanks. Brian

TS-880 in 3.0.x is causing problems

2012-03-08 Thread Brian Geffon
Hello All, Recently we voted to back-port TS-880 (Major performance problem with second request on same keep-alive connection) to 3.0.x, while I personally have been using this patch for a few weeks I occasionally will do massive connection failure tests which are designed to test the stability

Plugin Configuration Per-Remap rule

2012-03-13 Thread Brian Geffon
Hi, Is there anyway to pass configuration data to a plugin on a per remap rule basis? I'm looking to have the configuration that a remap plugin provides but on top of a full plugin. Does anyone have ideas? Thanks. Brian

Re: Plugin Configuration Per-Remap rule

2012-03-13 Thread Brian Geffon
Great, thanks Igor and Leif. Brian 2012/3/13 Igor Galić i.ga...@brainsware.org - Original Message - On 3/13/12 2:06 PM, Brian Geffon wrote: Hi, Is there anyway to pass configuration data to a plugin on a per remap rule basis? I'm looking to have the configuration

Re: Looking for volunteer to take over RM for 3.0.x

2012-03-23 Thread Brian Geffon
I would also be happy to help RM 3.0.x. Brian On Fri, Mar 23, 2012 at 10:08 AM, Eric Ahn byungwook@gmail.com wrote: Hi Igor, I would like to join RM of 3.0.x, Eric 2012/3/24 Igor Galić i.ga...@brainsware.org Hi folks, I'm looking for (a) volunteer(s) to take over the RM of

Re: v3.0.4 fails to build on fedora 17

2012-03-23 Thread Brian Geffon
What version of g++ are you using? On Fri, Mar 23, 2012 at 1:49 PM, Jan-Frode Myklebust janfr...@tanso.netwrote: ATS 3.0.4 fails to build on fedora 17. Ref: http://koji.fedoraproject.org/koji/getfile?taskID=3927725name=build.log snip g++ -DHAVE_CONFIG_H -I. -I../../lib/ts

Re: v3.0.4 fails to build on fedora 17

2012-03-23 Thread Brian Geffon
Has anyone else had luck with g++ 4.7? I'll see if I can get ats to compile with 4.7 on RHEL6. Brian On Fri, Mar 23, 2012 at 2:10 PM, Jan-Frode Myklebust janfr...@tanso.netwrote: On Fri, Mar 23, 2012 at 01:53:06PM -0700, Brian Geffon wrote: What version of g++ are you using? This build

Cleaning up ink_gethostbyname_r and ink_gethostbyaddr_r

2012-03-26 Thread Brian Geffon
Hi all, In an effort to get ATS to build on OpenBSD, I noticed that we're using gethostbyname_r and gethostbyaddr_r (see ink_inet.cc), according to the manpage both of these APIs are obsolete and getaddrinfo should be used (which is reentrant by default), I only noticed this because OpenBSD 5.0

Traffic Server 3.0.5 Release

2012-04-23 Thread Brian Geffon
Hello Everyone, It's been a month since we've released a stable version of traffic server, I think we should start preparing for a release of 3.0.5. We've already backported 3 changes to 3.0.x and there is currently 6 more proposed backports in the STATUS file, so go vote! Most of the proposed

[VOTE] Release Apache Traffic Server v3.0.5

2012-05-08 Thread Brian Geffon
Hello All, We've prepared a package for a v3.0.5 release. Please take a look at the artifacts, check the STATUS/README/CHANGES files, and do builds and tests. After finishing your examination of the release candidate, please cast your ±/0 votes, I will call the vote on May 11th 2012. The source

Re: Chunking Content-Encoding in Transformation Plugin

2012-05-14 Thread Brian Geffon
Fixed as of 3.0.3, https://issues.apache.org/jira/browse/TS-1004 Brian On Mon, May 14, 2012 at 2:51 PM, Walsh, Peter peter.wa...@disney.com wrote: Hello, Was there ever any resolution or bugs opened for the issue referenced in the below linked email thread, where using a transformation

[VOTE] Release Apache Traffic Server 3.0.5

2012-05-31 Thread Brian Geffon
Hello All, We've prepared a package for a v3.0.5 release. Please take a look at the artifacts, check the STATUS/README/CHANGES files, and do builds and tests. After finishing your examination of the release candidate, please cast your ±/0 votes, I will call the vote on Jun 04th 2012. The source

Re: ts 3.04 segfault

2012-05-31 Thread Brian Geffon
I believe this might be fixed in 3.0.5, which will be released in the next few days. Brian On May 31, 2012, at 7:05 PM, kendo 6339...@qq.com wrote: I used TS 3.04, every few hours will Oops, this is captured to the coredump, thanks: (gdb) bt #0 ink_restore_signal_handler_frame

Re: [VOTE] Release Apache Traffic Server 3.0.5

2012-06-05 Thread Brian Geffon
Thank you all for the votes, we've received a total of 5 votes 3 of which are binding, 3.0.5 will be released shortly. Brian On Sun, Jun 3, 2012 at 3:22 PM, Leif Hedstrom zw...@apache.org wrote: On 6/3/12 3:28 PM, Brian Geffon wrote: +1 from me RHEL 6 w/ GCC 4.4  GCC 4.7. Any other voters

[ANNOUNCE] Apache Traffic Server 3.0.5 Released

2012-06-12 Thread Brian Geffon
Apache Traffic Server v3.0.5 Released The Apache Software Foundation and the Apache Traffic Server project are pleased to announce the release of Apache Traffic Server v3.0.5. Apache Traffic Server is fast, scalable and extensible HTTP/1.1 compliant caching proxy server. This is primarily a bug

Re: ATS 3.0.5 segfaulting

2012-06-18 Thread Brian Geffon
Can you provide a stack trace? Brian On Jun 18, 2012, at 3:37 AM, Jan-Frode Myklebust janfr...@tanso.net wrote: ATS 3.0.5 on RHEL6 seems to segfault reliably when I press reload on the same page a few times in my browser. This is the build I'm using:

Re: [VOTE] Release v3.2.0

2012-06-19 Thread Brian Geffon
+1 from me on RHEL6. On Tue, Jun 19, 2012 at 1:00 PM, Leif Hedstrom zw...@apache.org wrote: On 6/14/12 7:54 PM, Leif Hedstrom wrote: Hi all, I've prepared a release for v3.2.0, this release has no significant changes compared to v3.1.4. Obviously +1, but it's sort of a moot point seeing

Re: ATS 3.0.5 segfaulting

2012-06-19 Thread Brian Geffon
Can you provide any more information about your setup? About the content being cached, and so on... Thanks! Brian On Tue, Jun 19, 2012 at 2:27 PM, Jan-Frode Myklebust janfr...@tanso.net wrote: On Tue, Jun 19, 2012 at 06:41:46AM -0600, Leif Hedstrom wrote: Does it happen with trunk or 3.1.4?

Freelists

2012-09-05 Thread Brian Geffon
Hi, I was curious if anyone could shed some light on the following question I've had. So if I understand this correctly the freelists use the upper 16bits of the data ptr to be a version, where this version tries to solve several problems related to lockfree data structures including the ABA

Re: Freelists

2012-09-05 Thread Brian Geffon
Disregard this question, it's not doing what I originally expected it was doing based on the name. Brian On Wed, Sep 5, 2012 at 8:45 PM, Brian Geffon bri...@apache.org wrote: Hi, I was curious if anyone could shed some light on the following question I've had. So if I understand

Re: Freelists

2012-09-05 Thread Brian Geffon
Actually, please do not disregard this question, it appears James and I cannot correctly do bitwise arithmetic :) Brian On Wed, Sep 5, 2012 at 9:34 PM, Brian Geffon bri...@apache.org wrote: Disregard this question, it's not doing what I originally expected it was doing based on the name

Connect returning EADDRNOTAVAIL

2012-10-09 Thread Brian Geffon
Hello All, tl;dr: I think we should remove the call to bind() before our call to connect(). I've run into a situation where after a while the connect system call in Connection::connect in UnixConnect.cc will actually fail with errno = 99 (EADDRNOTAVAIL) on RHEL 6, this would cause hostdb to mark

Re: Connect returning EADDRNOTAVAIL

2012-10-09 Thread Brian Geffon
On Tue, Oct 9, 2012 at 4:22 PM, Brian Geffon wrote: I have the following patch that I think will retain that functionality, basically if you're specifying a local port of 0 and INADDR_ANY, then you shouldn't call bind. --- iocore/net/UnixConnection.cc2012-05-07 14:56:06.0

Re: [Vote] Establish a page for third part assistance

2012-10-16 Thread Brian Geffon
+1: Establish a list of third parties offering assistance On Tue, Oct 16, 2012 at 9:32 AM, Igor Galić i.ga...@brainsware.org wrote: [x] +1: Establish a list of third parties offering assistance [ ] +0: Meh [ ] -1: Don't establish such a list, because... i -- Igor Galić Tel: +43 (0)

Header parsing trims quotes...why?

2012-12-20 Thread Brian Geffon
Hi All, For some reason we have an option in *HttpCompat::parse_tok_list *called trim quotes, this option will remove the quotes around values in a header. This has proven to be problematic as we have no way of knowing how the original header was formatted when using TSMimeHdrFieldValueStringGet()

TS-1742: Freelists: using 64bit versions w/ double word compare and swap

2013-03-07 Thread Brian Geffon
Hello all, So to those of you familiar with the freelists you know that it works this way the head pointer uses the upper 16 bits for a version to prevent the ABA problem. The big drawback to this is that it requires the following NASTY macros to get at the pointer or the version: #define

Re: TS-1742: Freelists: using 64bit versions w/ double word compare and swap

2013-03-08 Thread Brian Geffon
I'm all for this also, i think at minimum we should take advantage of what we get for free from c++11, especially since we have c++11 checks in our autoconf script already anyway. I had never actually heard of concurrencykit until now. I know TBB isn't really an option, but has anyone compared the

Re: TS-1742: Freelists: using 64bit versions w/ double word compare and swap

2013-03-08 Thread Brian Geffon
: - Original Message - On 3/8/13 9:50 AM, Brian Geffon wrote: I'm all for this also, i think at minimum we should take advantage of what we get for free from c++11, especially since we have c++11 checks in our autoconf script already anyway. I had never actually heard

Re: TS-1742: Freelists: using 64bit versions w/ double word compare and swap

2013-03-10 Thread Brian Geffon
, Mar 8, 2013 at 12:17 PM, Brian Geffon briangef...@gmail.com wrote: My only concern with concurrencykit is the use of hazard pointers, it's my understanding that hazard pointers are patented by IBM: http://www.google.com/patents/US20040107227?printsec=description#v=onepageqf=false Brian

Re: TS-1742: Freelists: using 64bit versions w/ double word compare and swap

2013-03-13 Thread Brian Geffon
I dont fully understand how this would work in the 8 byte case if memory alignment was the issue. Brian On Tue, Mar 12, 2013 at 10:36 PM, Igor Galić i.ga...@brainsware.org wrote: - Original Message - Unfortunately this commit breaks my build and executable. FC 18. --enable-debug

Re: 128bit compare and swap

2013-03-18 Thread Brian Geffon
Hey, I'm looking into the failing freelist tests using the precise64 vagrant box. If I can't figure it out tonight I'll just disable the check in configure.ac to get things stable again for the time being. If anyone else has some time to help out with this, I'd really appreciate it. Brian On

Re: 128bit compare and swap

2013-03-19 Thread Brian Geffon
)) = *((__int128_t*)(src)) +#define INK_QUEUE_LD(dst,src) *(__int128_t*)(dst) = __sync_fetch_and_add((__int128_t*)(src), 0) #else #define INK_QUEUE_LD(dst,src) INK_QUEUE_LD64(dst,src) #endif This fixes the problem. On Mon, Mar 18, 2013 at 9:31 PM, Brian Geffon bri...@apache.org wrote: Hey, I'm

Re: 128bit compare and swap

2013-03-19 Thread Brian Geffon
Ok, I'll get both of these committed. Brian On Tue, Mar 19, 2013 at 4:18 PM, John Plevyak jplev...@acm.org wrote: Definitely should do that as well. john On Tue, Mar 19, 2013 at 4:04 PM, Brian Geffon briangef...@gmail.com wrote: Thanks John! Someone else mentioned that we might

Re: [1/3] git commit: Fix bug with 128 bit compare and swap.

2013-03-24 Thread Brian Geffon
I'm confused, I reenabled 128bit cas in configure.ac and verified that it is building with cmpxchg16b and it's running perfectly. The test_freelist regression tests pass with no problems. So what were the issues remaining that required the revert? How can I possibly reproduce them so I can get

Re: [1/3] git commit: Fix bug with 128 bit compare and swap.

2013-03-25 Thread Brian Geffon
: On Mar 24, 2013, at 2:11 PM, Brian Geffon bri...@apache.org wrote: I'm confused, I reenabled 128bit cas in configure.ac and verified that it is building with cmpxchg16b and it's running perfectly. The test_freelist regression tests pass with no problems. So what were the issues remaining

Re: [ANNOUNCE] Apache Traffic Server Barcamp/hackathon 5/1/2013 in Mountain View, CA

2013-04-23 Thread Brian Geffon
Ill be there, so will Manjesh and Nick Berry. On Apr 23, 2013, at 8:23 PM, Leif Hedstrom zw...@apache.org wrote: On 4/23/13 3:14 PM, Leif Hedstrom wrote: Hi all, With short notice, the fine people at LinkedIn have gracefully offered to host a small ATS community hackathon on May 1st,

first_write_block() in MIOBuffer

2013-04-29 Thread Brian Geffon
Hello All, I think we have a major flaw in first_write_block() in MIOBuffer, the comment and code are the following: /** Returns a pointer to the first writable block on the block chain. Returns NULL if there are not currently any writable blocks on the block list. */

Re: re EADDRNOTAVAIL

2013-05-01 Thread Brian Geffon
Yes, this patch is already committed to 3.3.x/Master. Below is a patch that will cleanly apply to 3.2.0. Brian --- iocore/net/UnixConnection.cc2012-06-14 13:50:54.0 -0700 +++ iocore/net/UnixConnection.cc2012-10-16 14:45:43.0 -0700 @@ -223,6 +223,7 @@ //

Re: re EADDRNOTAVAIL

2013-05-01 Thread Brian Geffon
Sure, that code is your world so whatever makes the most sense. Brian On Wed, May 1, 2013 at 1:15 PM, Alan M. Carroll a...@network-geographics.com wrote: I may teak that to use ats_is_ip_any() rather than having a bool flag. Wednesday, May 1, 2013, 1:51:23 PM, you wrote: Yes, this patch

ATS Talk at Velocity by Nick Berry

2013-06-19 Thread Brian Geffon
Hello Everyone, For those of you at Velocity this week, Nick Berry of LinkedIn will be giving a talked titled Reflecting a Year After Migrating to Apache Traffic Server at 11:20 Tomorrow: http://velocityconf.com/velocity2013/public/schedule/detail/28461 After the talk he will also be holding

Re: [VOTE] Release Apache Traffic Server 3.2.5

2013-07-12 Thread Brian Geffon
I'm in the process of rolling out 3.2.4 but I'm really waiting for a 3.4 release. Also, this probably isn't the thread for this but I think our stable releases could get more attention in terms of backports if the process was slightly easier, i'll start a new discussion on this as it's something

Re: 3.3.5 open bugs

2013-07-31 Thread Brian Geffon
I'm actively looking into TS-2052. Brian On Jul 29, 2013, at 10:25 PM, Leif Hedstrom zw...@apache.org wrote: There are still 3 bugs open for v3.3.5, without a patch: https://issues.apache.org/jira/browse/TS-2052 - SSL threads spinning https://issues.apache.org/jira/browse/TS-2051 - ATS

Re: Yahoo! and Apache Traffic Server

2013-08-20 Thread Brian Geffon
Great news! Brian On Aug 20, 2013, at 5:44 AM, Bryan Call bc...@apache.org wrote: I am happy to announce that Yahoo! has decided to focus on Apache Traffic Server as its primary main proxy server technology. Yahoo! is shifting its efforts back to Traffic Server and moving more groups from

Re: [BEER] Wed August 8/28 in Mountain View, CA

2013-08-21 Thread Brian Geffon
I'll be there. Brian On Aug 21, 2013, at 6:11 AM, Leif Hedstrom zw...@apache.org wrote: Hi all, we'll be having a meetup / beer-up at the Steins Beer Garden in Mountain View, CA, on Wed 8/28, 6pm. Please RSVP asap if you plan on attending, so I can try to make reservations.

Re: API review process proposal

2013-10-17 Thread Brian Geffon
+1 On Thursday, October 17, 2013, Alan M. Carroll wrote: +1 On Oct 9, 2013, at 2:33 PM, James Peach jpe...@apache.orgjavascript:; 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

Re: PATCH: fix for the docs

2013-10-25 Thread Brian Geffon
Hey Thomas, It's best to create a JIRA ticket at https://issues.apache.org/jira/browse/TS, and then attach the patch there. Brian On Fri, Oct 25, 2013 at 4:37 PM, Thomas Jackson jacksontj...@gmail.comwrote: Today we had an issue with an origin which threw some 500 errors. We noticed that

Re: question on atscppapi

2013-10-29 Thread Brian Geffon
Hi Kit, You might consider waiting a few weeks, I'm still implementing many of the suggestions from the most recent ATS Summit. The first set of changes will be removing standard library containers for headers. If you're willing to tolerate changes to the api over the coming weeks feel free to get

Re: what is the correct way to abort an HTTP transaction in a transformation plugin?

2013-10-29 Thread Brian Geffon
You might adjusting the VIO nbytes to convince the VIO that it's finished all of its writing. That's a good approach, then you can hook send response headers and adjust the final response to the client. Brian On Tue, Oct 29, 2013 at 3:32 PM, Alan M. Carroll a...@network-geographics.com

Re: Traffic Server Spring 2014 Summit

2014-01-13 Thread Brian Geffon
The current Apache Con website has an image that says April 7th - 9th? Brian On Mon, Jan 13, 2014 at 1:57 PM, Leif Hedstrom zw...@apache.org wrote: On Jan 7, 2014, at 9:31 AM, Leif Hedstrom zw...@apache.org wrote: Hi all, it’s about time we decide the exact dates for our next Spring

WebSocket support

2014-01-29 Thread Brian Geffon
Hi All, I've created a patch adding WebSocket support to ATS, I would appreciate community feedback. This is being tracked in TS-2541, the patch is attached to the jira ticket https://issues.apache.org/jira/browse/TS-2541 Thanks! Brian

Re: WebSocket support

2014-01-31 Thread Brian Geffon
See responses below. On Fri, Jan 31, 2014 at 4:05 PM, Leif Hedstrom zw...@apache.org wrote: On Jan 29, 2014, at 6:22 PM, Brian Geffon bri...@apache.org wrote: Hi All, I've created a patch adding WebSocket support to ATS, I would appreciate community feedback. This is being tracked in TS

Re: git commit: TS-2579: remove ipv4 limit on FetchSM and TSFetchUrl/TSFetchPages

2014-02-23 Thread Brian Geffon
Doesn't the http connect parse headers anyway? Isn't the address only used for local host proxying? Brian On Sunday, February 23, 2014, Shu Kit Chan chanshu...@gmail.com wrote: ESI plugin unfortunately still uses TSFetchUrl and therefore cannot handle ipv6 client addresses. On Sun, Feb 23,

Re: git commit: TS-2579: remove ipv4 limit on FetchSM and TSFetchUrl/TSFetchPages

2014-02-26 Thread Brian Geffon
at 3:02 PM, James Peach jpe...@apache.org wrote: On Feb 23, 2014, at 10:47 AM, Brian Geffon bri...@apache.org wrote: Doesn't the http connect parse headers anyway? Yep Isn't the address only used for local host proxying? local host proxying? I followed the code a little way and I

Stack traces across scheduled events

2014-03-11 Thread Brian Geffon
Hi all, There has been discussion on IRC about techniques for following requests across events. I've slapped together a simple patch that attaches backtraces to Continuations every time an event is scheduled. Since some people may find this useful I wanted to archive it via the mailing list. If

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

2014-03-17 Thread Brian Geffon
+1, RHEL 6.4. Brian On Fri, Mar 7, 2014 at 5:51 PM, Phil Sorber sor...@apache.org wrote: Hello All, It's been a while since RC0, and we've tracked down quite a few bugs. So I've prepared a new release for v4.2.0 (RC1) which is the last stable release in the 4.x series. This will serve as

Re: Remap/regex_remap consolidation

2014-03-25 Thread Brian Geffon
I personally vote for regexing everything until we get around to finalizing lua config, I also vote for this being the one who will end up writing the code :) Brian On Tuesday, March 25, 2014, James Peach jpe...@apache.org wrote: On Mar 25, 2014, at 3:28 PM, Leif Hedstrom

Re: Remap/regex_remap consolidation

2014-03-25 Thread Brian Geffon
What Thomas called Question #1 -- 1 Regex. Brian On Tuesday, March 25, 2014, Leif Hedstrom zw...@apache.org wrote: On Mar 25, 2014, at 7:42 PM, Brian Geffon bri...@apache.orgjavascript:; wrote: I personally vote for regexing everything until we get around to finalizing lua config, I

Re: Remap/regex_remap consolidation

2014-03-25 Thread Brian Geffon
Right. On Tuesday, March 25, 2014, Leif Hedstrom zw...@apache.org wrote: On Mar 25, 2014, at 7:51 PM, Brian Geffon briangef...@gmail.comjavascript:; wrote: What Thomas called Question #1 -- 1 Regex. Makes sense to have them combined. Assuming groups etc. works, that allows you to do

Re: Remap/regex_remap consolidation

2014-03-26 Thread Brian Geffon
or may not be premature optimization) is that if you have seperate regexes we can create hash maps similar to how maps work (a hashmap of domain_regex - list of path regexes) which would make overall remap performance faster/better. On Tue, Mar 25, 2014 at 9:50 PM, Brian Geffon bri

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 acacio.cent...@azion.comwrote: Hello, We're creating a plugin that blocks/redirects some requests based on its properties.

ATS summit dinner

2014-04-10 Thread Brian Geffon
Hi All, We're doing a sponsored dinner tonight at Wynkoop Brewery, at 18th and Wynkoop, at 7pm. It would be great to see you all there. Brian

Re: Proposal to remove 32bit support.

2014-04-11 Thread Brian Geffon
This seems like a logical move for a 5.0 release, +1 from me. On Fri, Apr 11, 2014 at 8:51 AM, Theo Schlossnagle je...@lethargy.orgwrote: Given the nature of ATS and its focus exclusively on high performance environments, I suggest we throw off the bonds of 32bit support going forward. I'm

Re: Importing libck

2014-04-11 Thread Brian Geffon
+ 1 On Friday, April 11, 2014, Leif Hedstrom zw...@apache.org wrote: +1 -- Leif On Apr 11, 2014, at 12:34 PM, Phil Sorber sor...@apache.orgjavascript:; wrote: I'd like to propose that we pull libck into our tree and use it to replace some of our stuff like the freelist,

Re: [VOTE] Release Apache Traffic Server 4.2.1 (RC0)

2014-04-14 Thread Brian Geffon
+1 on RHEL6.4 On Sat, Apr 12, 2014 at 6:14 PM, Phil Sorber sor...@apache.org wrote: Hello All, I've prepared a release for v4.2.1 (RC0) which is the latest stable release in the 4.2.x series. This is the second release in our Long Term Support (LTS) version as detailed in our Release

Re: [VOTE] Release Apache Traffic Server 4.2.1 (RC1)

2014-04-21 Thread Brian Geffon
+1 RHEL 6.4 On Monday, April 21, 2014, Adam W. Dace colonelforbi...@gmail.com wrote: P.S. My apologies for not actually running these releases on my personal cache, but I'm finishing up with more tuning work. On the upside, ATS is doing an amazing job on my now 100Mbps link. On Mon, Apr

Re: [RFC] coding style for member variable access

2014-05-21 Thread Brian Geffon
I think this- is incredibly ugly an unnecessary, what does it really get us? It will be become convention just as appending a underscore or adding m_ in front of the name. In my opinion this- should only be used in situations where you need to disambiguate between variable names and not as a

Re: [API REVIEW] TSHttpIsInternalSession

2014-05-28 Thread Brian Geffon
Makes sense +1. Brian On Wed, May 28, 2014 at 9:12 PM, James Peach jpe...@apache.org wrote: Hi all, I'd like to add a session-oriented counterpart to TSHttpIsInternalRequest, named TSHttpIsInternalSession: TSReturnCode TSHttpIsInternalSession(TSHttpSsn ssnp); This API has

Re: [VOTE] Release Apache Traffic Server 5.0.0 (RC0)

2014-06-13 Thread Brian Geffon
+ 1, on RHEL 6.4. On Friday, June 13, 2014, Igor Galić i.ga...@brainsware.org wrote: +1 compiles and runs fine on Ubuntu 12.04 (old LTS) on amd64 in forward proxy mode (will soon test as reverse proxy, if it didn't happen already automatically ;) o/~ i - Original Message - I

  1   2   >