lp:~measurement-factory/squid/bag5fx

Created by Alex Rousskov and last modified
Get this branch:
bzr branch lp:~measurement-factory/squid/bag5fx
Members of Measurement Factory can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Measurement Factory
Project:
Squid
Status:
Development

Recent revisions

12742. By Alex Rousskov

Do not unconditionally revive dead peers after a DNS refresh.

A simpler version of v5 r15145 (and bag14 r14071).

12741. By Alex Rousskov

Do not forward HTTP requests to dead idle peers.

Same as v5 r15133.

12740. By Alex Rousskov

Bug 4065: round-robin neighbor selection with unequal weights

Same as trunk r13416.

12739. By Alex Rousskov

Count failures and use peer-specific connect timeouts when tunneling.

Fixed two bugs with tunneling CONNECT requests (or equivalent traffic)
through a cache_peer:

1. Not detecting dead cache_peers due to missing code to count peer
   connect failures. SSL-level failures were detected (for "ssl"
   cache_peers) but TCP/IP connect(2) failures were not (for all peers).

2. Origin server connect_timeout used instead of peer_connect_timeout or
   a peer-specific connect-timeout=N (where configured).

The regular forwarding code path does not have the above bugs. This
change reduces code duplication across the two code paths (that
duplication probably caused these bugs in the first place), but a lot
more work is needed in that direction.

This patch includes trunk r12754 port to bag5 r12737. Among other
polishing changes, this revision implements TunnelStateData constructor,
required in the current patch.

The 5-second forwarding timeout hack has been in Squid since
forward_timeout inception (r6733). It is not without problems (now
marked with an XXX), but I left it as is to avoid opening another
Pandora box. The hack now applies to the tunneling code path as well.

12738. By Alex Rousskov

Retry CONNECT tunneling attempt after connect_timeout.

When a peer hits connect_timeout, retry a different IP address (or a
different peer) instead of aborting with a client error. Limit these
retries by forward_timeout.

This patch ports trunk r14119 to bag5 r12737. The official fix
commit message implied that the fix is limited to retrying with a
different IP family, but that was wrong/misleading.

TODO: The tunneling code should use peer_connect_timeout instead of
connect_timeout, honor peer-specific connect-timeout (if any), and
count peer failures. Those problems are present in v5 code as well.

12737. By Alex Rousskov

merged from connect2ssl (r12735) to get build fixes.

12736. By Alex Rousskov

Initial support for "values with spaces" in ACL directives.

same as conf-quoted-str r12733.

12735. By Alex Rousskov

Initial support for sharing SSL sessions among SMP workers.

same as shared-ssl-sessions r12733.

12734. By Alex Rousskov

Initial support for establishing TCP tunnels with SSL cache_peers.

same as connect2ssl r12733.

12733. By Alex Rousskov

Large Rock: Support for caching of large files in rock cache_dirs.

same as large-rock r12530

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~squid/squid/5
This branch contains Public information 
Everyone can see this information.