http_port_list::http_port_list(const char *aProtocol)
#if USE_SSL
:
- http(*this), dynamicCertMemCacheSize(std::numeric_limits<size_t>::max())
+ http(*this), dynamicCertMemCacheSize(std::numeric_limits<size_t>::max())
#endif
{
protocol = xstrdup(aProtocol);
#if USE_SSL
#include "ssl_support.h"
#include "ssl/ErrorDetail.h"
- #endif
+#endif
static PSC fwdStartCompleteWrapper;
static PF fwdServerClosedWrapper;
#endif
Ssl::ErrorDetail *errFromFailure = (Ssl::ErrorDetail *)SSL_get_ex_data(ssl, ssl_ex_index_ssl_error_detail);
- if (errFromFailure != NULL){
+ if (errFromFailure != NULL) {
// The errFromFailure is attached to the ssl object
// and will be released when ssl object destroyed.
// Copy errFromFailure to a new Ssl::ErrorDetail object
hlp->stats.avg_svc_time =
Math::intAverage(hlp->stats.avg_svc_time,
- tvSubMsec(r->dispatch_time, current_time),
- hlp->stats.replies, REDIRECT_AV_FACTOR);
+ tvSubMsec(r->dispatch_time, current_time),
+ hlp->stats.replies, REDIRECT_AV_FACTOR);
helperRequestFree(r);
} else {
Ssl::Config::Config()
#if USE_SSL_CRTD
:
- ssl_crtd(NULL),
- ssl_crtd_n_running(5)
+ ssl_crtd(NULL),
+ ssl_crtd_n_running(5)
#endif
{
}