]> git.ipfire.org Git - thirdparty/squid.git/commit
Internal requests (eg comming from Downloader) must not peek-and-spliced
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 5 Nov 2015 18:03:05 +0000 (20:03 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 5 Nov 2015 18:03:05 +0000 (20:03 +0200)
commita7300c7a59a8b95ed7da1beb63950cf5864a82db
tree551c1004d5dcd3d39e8e75c748fe0bb5e48c5127
parentd0886f009b0b4f2bb51273847250eb5836d9d468
Internal requests (eg comming from Downloader) must not peek-and-spliced

- Do not use the Ssl::PeekingPeerConnector to connect to remote site for
  internal HTTPS requests, peek-and-splice does not make any sense when the
  client is missing. Use the Ssl::BlindPeerConnector instead.
- Fix Ssl::BlindPeerConnector to work with requests comming from Downloader:
   * Use the default Config.ssl_client.sslContext as SSL_CTX context for
     these requests
   * Allow Ssl::BlindPeerConnector work with requests does not destined to a
     cache peer
src/FwdState.cc
src/ssl/PeerConnector.cc