src/transaction.cc
/**
 * @name    processRequestHeaders
 * @brief   Perform the analysis on the request readers.
 *
 * This method perform the analysis on the request headers, notice however
 * that the headers should be added prior to the execution of this function.
 *
 * @note Remember to check for a possible intervention.
 *
 * @returns If the operation was successful or not.
 * @retval true Operation was successful.
 * @retval false Operation failed.
 *
 */
@name    processRequestHeaders
@brief   Perform the analysis on the request readers.

This method perform the analysis on the request headers, notice however
that the headers should be added prior to the execution of this function.

@note Remember to check for a possible intervention.

@returns If the operation was successful or not.
@retval true Operation was successful.
@retval false Operation failed.
@name processRequestHeaders @brief Perform the analysis on the request readers . This method perform the analysis on the request headers notice however that the headers should be added prior to the execution of this function . @note Remember to check for a possible intervention . @returns If the operation was successful or not . @retval true Operation was successful . @retval false Operation failed .
int Transaction::processRequestHeaders() {
#ifndef NO_LOGS
    debug(4, "Starting phase REQUEST_HEADERS.  (SecRules 1)");
#endif
    if (m_rules->m_secRuleEngine == Rules::DisabledRuleEngine) {
#ifndef NO_LOGS
        debug(4, "Rule engine disabled, returning...");
#endif
        return true;
    }
    this->m_rules->evaluate(modsecurity::RequestHeadersPhase, this);
    return true;
}
int Transaction :: processRequestHeaders ( ) { #ifndef NO_LOGS debug ( 4 , " " ) ; #endif if ( m_rules -> m_secRuleEngine == Rules :: DisabledRuleEngine ) { #ifndef NO_LOGS debug ( 4 , " " ) ; #endif return true ; } this -> m_rules -> evaluate ( modsecurity :: RequestHeadersPhase , this ) ; return true ; }
@name    processRequestHeaders
 @brief   Perform the analysis on the request readers.
@name processRequestHeaders @brief Perform the analysis on the request readers .