lp:~measurement-factory/squid/fetch-cert
- Get this branch:
- bzr branch lp:~measurement-factory/squid/fetch-cert
Branch merges
Branch information
Recent revisions
- 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. - 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 ClientRequestCo ntext) and calls
ClientHttpRequest::doCallout s
- Remove support for connectionless ConnStateData objects and the related
changes previously done. - 14383. By Christos Tsantilas
-
Fix functions names and documentantation
The findCertByIssue
rFast, findCertIssuer and sk_x509_ findCertByIssue r 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_findCertByIssue r 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::serverCertifi cates, HandshakeParser ::parseServerCe rtificates and HandshakeParser ::ParseCertific ate implementation from lp:fast-sni branch - 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::prepUserConne ction. Call this method instead calling
grandparents ::start() method from Downloader::start( ).
Also implement an empty Downloader::prepUserConnec tion() 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::scInternalServ erError.
- 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