lp:~measurement-factory/squid/fetch-cert

Created by Alex Rousskov and last modified
Get this branch:
bzr branch lp:~measurement-factory/squid/fetch-cert
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:
Merged

Recent revisions

14388. By Christos Tsantilas

merge from trunk-r14768

14387. By Christos Tsantilas

Polishing fixes from squid-dev review

14386. By Christos Tsantilas

Documentation, polishing and fixes

 - Add/fix basic documentation for Downloader and DownloaderContext classes
 - Move DownloaderContext class definition to Downloader.cc file
 - fix cbdata leaks inside DownloaderCotnext destructor, caused by simple typo
   mistake.
 - Do not cbdatalock the ClientHttpRequest object inside DownloaderContext.
   This class is responsible to hold the main pointer and finaly delete the
   ClientHttpRequest object.

14385. By Christos Tsantilas

Sync with trunk r14734

14384. By Christos Tsantilas

Make Downloader an basic AsyncJob class.

This patch:
- Removes ConnStateData depedencies from Downloader. Downloader now is an
  AsyncJob class which builds an HttpRequest and related client objects
  (ClientHttpRequest, ClientStreamData and ClientRequestContext) and calls
  ClientHttpRequest::doCallouts
- Remove support for connectionless ConnStateData objects and the related
  changes previously done.

14383. By Christos Tsantilas

Fix functions names and documentantation

The findCertByIssuerFast, findCertIssuer and sk_x509_findCertByIssuer functions
does not search for a certificate with the given issuer. Actually they are
searching the certificate of the issuer of the given certificate.
This patch fixes documentation of this function and adjust the functions names:
 - findCertByIssuerFast to findCertIssuerFast
 - sk_x509_findCertByIssuer to sk_x509_findIssuer

14382. By Christos Tsantilas

New Security::CertList type to replace Ssl::X509_STACK_Pointer references
in HandshakeParser class.

The Security::CertList type is an Security::CertPointer list.

14381. By Christos Tsantilas

Sync with trunk-r14686

- Replaces with newer versions of BinaryTokenizer and HandshakeParser classes
- Modifications to use latest Handshake parser from trunk.
- Get HandshakeParser::serverCertificates, HandshakeParser::parseServerCertificates and HandshakeParser::ParseCertificate implementation from lp:fast-sni branch

14380. By Christos Tsantilas

Bug 4455: SegFault from ESIInclude::Start

merge from trunk-r14661

14379. By Christos Tsantilas

Fixes and improvments

- Throw a TextException on errors in Ssl::SSL_add_untrusted_cert
- Move most of the code from ConnStateData::start() into the new virtual method
  ConnStateData::prepUserConnection. Call this method instead calling
  grandparents ::start() method from Downloader::start().
  Also implement an empty Downloader::prepUserConnection() method
- Fix Downloader::isOpen() to use doneAll() to check if its jobs is finished
  and its job assumed as closed.
- Fix Downloader::start to handle the case a wrong HTTP request passed from
  the user (eg malformed URL). In this case calaback to the user with an
  Http::scInternalServerError.
- Remove tbe Downloader::callException() method, existed only to print a
  debug message. Add a debug message in AsyncJob::callException method instead.
- Replaces NULL with nullptr
- Fixes debug messages and comments

Branch metadata

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