Re: Different parent rules for 404 vs 5xx or unavailable

2022-09-15 Thread Robert O Butts
Nick, if you're open to writing code, it wouldn't be overly difficult to modify the parent_select plugin to do what you want. https://github.com/apache/trafficserver/tree/master/plugins/experimental/parent_select https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/parent_select.en.

Re: [API] proposal to change the return type of TSSslTicketKeyUpdate

2022-02-22 Thread Robert O Butts
+1 Seems useful, and it shouldn't break backwards compatibility. But should it be a TSReturnCode of TS_ERROR or TS_SUCCESS, to match the rest of the API? On Tue, Feb 22, 2022 at 3:02 PM Fei Deng wrote: > Hey guys, > > The api TSSslTicketKeyUpdate currently returns void, but in some recent > p

Re: [VOTE] new API for getting the SNI for a client connection

2021-10-05 Thread Robert O Butts
+1 IMO we should have APIs for all SSL/SNI data. On Tue, Oct 5, 2021 at 11:25 AM Leif Hedstrom wrote: > +1. > > I think the same pattern is in a couple of other “example” plugins as > well, which could be cleaned up the same way. > > — Leif > > > > On Oct 5, 2021, at 11:02 AM, Randall Meyer >

Re: Question about Consistent Hash and parent retry

2021-08-17 Thread Robert O Butts
> Just to be clear for me. Is it correct to say that there is no difference in the "parent mark down" behavior between Consistent Hash and any of the other parent selection options (e.g. Round Robin)? Correct. How it marks down and retries isn't related to the selection algorithm. All those setti

Re: Question about Consistent Hash and parent retry

2021-08-17 Thread Robert O Butts
> Please can someone clarify the exact behavior around Consistent Hash and unavailable parents? It's not a background thread. It's the same thread/continuation of a regular request, but not every request, only after records.config proxy.config.http.parent_proxy.retry_time. It will make either pare

Re: [E] [VOTE] New API symbols for Parent Selection

2021-03-04 Thread Robert O Butts
> > void TSHttpTxnResponseActionSet(TSHttpTxn txnp, TSResponseAction action); - > I still don't like passing the action by value. Yes, it's a pointer now. Sorry, I changed the code, forgot to update the PR description: https://github.com/apache/trafficserver/blob/f22e1c/src/traffic_server/InkAPI.c

[VOTE] New API symbols for Parent Selection

2021-02-26 Thread Robert O Butts
I'd like to propose adding the following symbols to the API, to make it possible for remap plugins to do next-hop parent selection: enum TSHostStatus enum TSHostStatusReason TSReturnCode TSHostnameIsSelf(const char *hostname); TSReturnCode TSHostStatusGet(const char *hostname, const size_t hostnam

Proposed new TS plugin API functions for Parent NextHop Selection

2020-11-04 Thread Robert O Butts
I'd like to propose adding the following symbols to the API, to make it possible for remap plugins to do next-hop parent selection: enum TSHostStatus enum TSHostStatusReason enum TSParentResultType class TSNextHopSelectionStrategy struct TSParentResult const char *ParentResultStr bool TSHostnameIs