amoghyermalkar123 edited a comment on issue #8712: URL: https://github.com/apache/trafficserver/issues/8712#issuecomment-1062581627
Hi @jrushford , your mappings helped alot, I am indeed not seeing multi-hop cycle anymore with the following configurations : (although I might need to test a bit more) child remap: `map http://something.some.com/ http://something.some.com/` child parent: `dest_domain=something.some.com method=get port=443 parent="some_ip_address:443" scheme=https round_robin=strict go_direct=false ` ======================== parent remap: `map http://something.some.com/ http://originserver.com/` ======================== As you said, I am seeing 502 Next hop connection failure. I have a few follow up questions regarding this approach : 1) When a parent gives a child 5xx, child will mark parent as down, correct? 2) if 1. is true, how do we know when the child will mark the parent up? (question stands even if mark down/up is per remap) 3) Do you have any pointers on the updated configs I have attached? Anything I might miss, something I should be aware of? Edit: 4) Also can I get a few examples about the usage of url_regex in parent.config instead of dest_domain? I have quite a few domains that follow a pattern and have the same origin, so it would be better to have one line in parent.config under a regex instead of one for each domain. I tried doing `url_regex=pattern*` but it didn't seem to work as multi-hop cycle kept occuring. But when I use dest_domain I get expected result i.e. 502 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
