Ignore:
Timestamp:
Jul 13, 2017, 9:01:05 AM (21 months ago)
Author:
Juanma
Message:

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/src/client_side_request.cc

    r5495 r5496  
    142142    al = new AccessLogEntry;
    143143    al->cache.start_time = current_time;
    144     if (aConn) {
    145         al->tcpClient = clientConnection = aConn->clientConnection;
    146         al->cache.port = aConn->port;
    147         al->cache.caddr = aConn->log_addr;
     144    al->tcpClient = clientConnection = aConn->clientConnection;
     145    al->cache.port = aConn->port;
     146    al->cache.caddr = aConn->log_addr;
    148147
    149148#if USE_OPENSSL
    150         if (aConn->clientConnection != NULL && aConn->clientConnection->isOpen()) {
    151             if (SSL *ssl = fd_table[aConn->clientConnection->fd].ssl)
    152                 al->cache.sslClientCert.reset(SSL_get_peer_certificate(ssl));
    153         }
    154 #endif
    155     }
     149    if (aConn->clientConnection != NULL && aConn->clientConnection->isOpen()) {
     150        if (SSL *ssl = fd_table[aConn->clientConnection->fd].ssl)
     151            al->cache.sslClientCert.reset(SSL_get_peer_certificate(ssl));
     152    }
     153#endif
    156154    dlinkAdd(this, &active, &ClientActiveRequests);
    157155#if USE_ADAPTATION
Note: See TracChangeset for help on using the changeset viewer.