Project

General

Profile

Actions

Bug #10450

open

Squid reverse proxy switching peers

Added by Viktor Gurov almost 4 years ago. Updated almost 2 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Squid
Target version:
-
Start date:
04/13/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

https://forum.netgate.com/topic/118255/squid-reverse-proxy-switching-peers:
I want Squid to direct incoming requests to a specific peer based on URI, but what I'm getting instead is it's sending the requests to each peer in a round-robin fashion. So, once in a while, I get the content, or sometimes I get a 404 when it's hitting the wrong peer. I only have one peer selected per mapping.
...
I have a working solution that might have to be re-implemented if and when I update the squid package. The trick is to add cache_peer_access directives that specifically deny the peers from the other mappings. For some reason, the "deny allsrc" that is automatically generated is not cutting it.

Actions #2

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho almost 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #4

Updated by Renato Botelho almost 2 years ago

  • Assignee deleted (Renato Botelho)
Actions #5

Updated by Viktor Gurov almost 2 years ago

  • Assignee set to Viktor Gurov
Actions

Also available in: Atom PDF