admin_password format

2009-11-02 Thread Eric Balsa
FYI, the format in records.config for proxy.config.admin.admin_password can be re-created with: #!/usr/bin/php

Re: Polling Library

2009-11-09 Thread Eric Balsa
My vote is for libevent if we are going down this route, but agree with Leif that we should continue to have a native option available for those concerned with performance as opposed to portability. libevent seems to have the 'community' eyeballs at this time and seems to be actively maintained. -

Re: yts.cookie.remap plugin

2009-11-23 Thread Eric Balsa
Hi Tin, I can't speak to whether Y! plans to open source the cookie remap plugin but I was author of that plugin at Y! and can give some generic pointers. The plugin itself is is a bit Y! specific, so there may be some difficulties getting it released but I can speak to the general idea behind th

Re: Suggested changes to default configuration

2009-12-20 Thread Eric Balsa
Hi John, See the faq on this subject on the wiki. Having open forward proxies on the internet is a bad thing. --Eric On Dec 20, 2009 3:41 PM, "John Scharber" wrote: It think if would reduce the number of posts / amount of time to get TS working if was configured as a standard forward proxy in t

Re: [vote] RTC vs CTR

2010-03-03 Thread Eric Balsa
[+1] CTR for trunk, RTC for all release branches --Eric

Re: [VOTE] Graduate Apache Traffics Server as TLP

2010-03-31 Thread Eric Balsa
    RESOLVED, that the persons listed immediately below be and >       hereby are appointed to serve as the initial members of the >       Apache Traffic Server Project: > >       * Andrew Hsu              [Yahoo!] >       * Anirban Kundu               [Yahoo!] &

Re: [VOTE] Release candidate for ATS v2.1.2

2010-08-30 Thread Eric Balsa
+1 for 2.0.1 +1 for 2.1.2 --Eric On Mon, Aug 30, 2010 at 12:57 PM, Leif Hedstrom wrote: >  On 08/26/2010 10:25 PM, Leif Hedstrom wrote: >> >>  Hi all, >> >> I've prepared a new package for a v2.0.1 release. Please take a look at >> the artifacts, check the STATUS/README/CHANGES files, and do bui

Remap Changes and SM changes

2010-11-16 Thread Eric Balsa
Hi All, Just a quick heads-up: just checked-in a change for re-ordering a couple API hooks. The old HttpSM required that you remap a request (by having a valid entry in remap.config) before you could ever hit READ_REQUEST. This seemed wrong so I changed the ordering to be more in line with what y

Re: Printing origin server response

2010-11-28 Thread Eric Balsa
Hi Manish, 1. With a transformation plugin you could 'print' the full response -- but where do you want to print it? 2. There is no HTML parsing inside TrafficServer. TS does not care about content; it proxies/caches *anything* as long as it's served over HTTP/HTTPS. To solve your problem, you w

Re: SDK and string "copies"

2010-12-02 Thread Eric Balsa
I'm +1 for making stuff non-null and returning a pointer straight into the MBuf like you propose. The only problem I see is that plugin writers will get direct access to the MBuf and one could cast and change data directly (but these are getters!). Before, you were operating on a copy of that data

Re: Printing origin server response

2010-12-07 Thread Eric Balsa
body here?  The data seems to be hidden below a few > levels >> of buffers and abstractions: >> >> if (towrite > 0) { >>       /* Copy the data from the read buffer to the output buffer. */ >>       if (TSIOBufferCopy(TSVIOBufferGet(data->output_vio), >> TSVI

Re: [VOTE] Release Apache Traffic Server v2.1.5 [NEW bits!]

2011-01-08 Thread Eric Balsa
+1 --Eric On Fri, Jan 7, 2011 at 8:56 PM, Leif Hedstrom wrote: > On 01/07/2011 06:50 PM, Leif Hedstrom wrote: >> >> Hi all, >> >> I've prepared a new package for a v2.1.5 release. Please take a look at >> the artifacts, check the STATUS/README/CHANGES files, and do builds and >> tests. After fin

Re: passing origin server to TS in client header

2011-02-17 Thread Eric Balsa
Jake, you probably want to set pristine_host_hdr in records.config if I understand you correctly. CONFIG proxy.config.url_remap.pristine_host_hdr INT 1 You can get at the HTTP headers in a remap plugin (beyond what's provided from ts/remap.h), but it's a bit of a hack. More sophisticated plugins

Re: [REVIEWS] Four proposed patches for 3.0.0 remaining in queue

2011-06-09 Thread Eric Balsa
I added my +1s to the STATUS file. On Wed, Jun 8, 2011 at 1:08 PM, Leif Hedstrom wrote: > Hi all, > > I need at least 2 more reviews and votes on four issues I'd like to include > in the 3.0.0 release. Please take a look at the STATUS file on the 3.0.x > branch, review the changes, and then comme

Re: Protocol plugin

2011-06-14 Thread Eric Balsa
Funny, i had that exact same problem and mentioned it to Leif but chalked it up to my local config strangeness. We should def. mention this somewhere. --Eric On Tue, Jun 14, 2011 at 2:48 PM, Nelson Perez wrote: > Ok, cool.. I did some modifications using the new API and the plugin worked. > Let

Re: Documentation error for building on Mac OS X

2011-07-07 Thread Eric Balsa
On Thu, Jul 7, 2011 at 11:25 AM, Alan D. Cabrera wrote: > https://cwiki.apache.org/confluence/display/TS/Mac+OS+X > > Seems to be wrong when building from the release directory.  I get all sorts > of errors.  The server does build correctly of I configure and build from the > source directory.  

[jira] Created: (TS-7) Reliance on non-existant directory /home/trafficserver

2009-11-02 Thread Eric Balsa (JIRA)
Environment: linux fedora 11 Reporter: Eric Balsa Priority: Trivial default FC11 install ./configure && make && make install sudo /usr/local/bin/traffic_manager -? fails with: Manager ERROR: unable to change to root directory "/home/traffi

[jira] Created: (TS-8) Admin guide references start_traffic_server

2009-11-02 Thread Eric Balsa (JIRA)
: linux fedora 11 Reporter: Eric Balsa Priority: Trivial http://incubator.apache.org/trafficserver/docs/admin/getstart.htm references `start_traffic_server` which doesn't seem to be anywhere in SVN. -- This message is automatically generated by JIRA. - You can rep

[jira] Commented: (TS-80) Support regular expressions in the host fields of remap rules

2009-12-14 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790561#action_12790561 ] Eric Balsa commented on TS-80: -- Seems like a useful addition. Can you include a wiki entry for

[jira] Commented: (TS-23) Remap plugin APIs do not support matrix parameters

2010-02-03 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829256#action_12829256 ] Eric Balsa commented on TS-23: -- This looks good to me. > Remap plugin APIs do not support

[jira] Commented: (TS-156) Enabling serve_stale_for crashes traffic_server with SRV records enabled crashes

2010-02-12 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833159#action_12833159 ] Eric Balsa commented on TS-156: --- Sent 10M requests thru dev branch on OSX, and about 5M

[jira] Commented: (TS-157) Improve stats API

2010-02-25 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838513#action_12838513 ] Eric Balsa commented on TS-157: --- I dont understand why the global struct is using rather

[jira] Created: (TS-239) Remove 4 non-essential booleans from transaction state

2010-03-11 Thread Eric Balsa (JIRA)
Affects Versions: 2.1.0 Reporter: Eric Balsa Assignee: Eric Balsa Priority: Trivial Fix For: 2.1.0 We dont need a boolean & value stored in the transaction state for each request, a value defaulted to -1 will do just fine.

[jira] Resolved: (TS-239) Remove 4 non-essential booleans from transaction state

2010-03-11 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Balsa resolved TS-239. --- Resolution: Fixed > Remove 4 non-essential booleans from transaction st

[jira] Created: (TS-252) seg fault using cache inspector

2010-03-17 Thread Eric Balsa (JIRA)
: Eric Balsa segfault using cache inspector in reverse proxy mode: enable cache inspector: CONFIG proxy.config.http_ui_enabled INT 1 remap.config map / http://{cache} browse to http://localhost observe segfault: backtrace: (gdb) bt #0 0x7fff88b4cfe6 in __kill () #1 0x7fff88bede32 in

[jira] Updated: (TS-252) seg fault using cache inspector

2010-03-17 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Balsa updated TS-252: -- Affects Version/s: (was: 2.0.1) 2.1.0 > seg fault using cache inspec

[jira] Commented: (TS-269) Grammar and spelling errors in records.config

2010-03-23 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848755#action_12848755 ] Eric Balsa commented on TS-269: --- well, to be even more grammar conscious, it's

[jira] Commented: (TS-275) INKHttpTxnConnectTimeoutSet isn't documented

2010-03-24 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849286#action_12849286 ] Eric Balsa commented on TS-275: --- Miles, Hi, these are the 4 api calls that prob arent d

[jira] Created: (TS-286) Seg fault on startup on OSX inside RecSetRawStatSum

2010-03-31 Thread Eric Balsa (JIRA)
Seg fault on startup on OSX inside RecSetRawStatSum --- Key: TS-286 URL: https://issues.apache.org/jira/browse/TS-286 Project: Traffic Server Issue Type: Bug Reporter: Eric Balsa

[jira] Updated: (TS-286) Seg fault on startup on OSX inside RecSetRawStatSum

2010-03-31 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Balsa updated TS-286: -- Attachment: TS-286.patch Bryan, this seems to fix it. Comments? I didn't delve too much into this code...

[jira] Commented: (TS-286) Seg fault on startup on OSX inside RecSetRawStatSum

2010-03-31 Thread Eric Balsa (JIRA)
[ https://issues.apache.org/jira/browse/TS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852227#action_12852227 ] Eric Balsa commented on TS-286: --- lol, ya, forgot to add this fixes it for me. > Seg f