-const char parsers_rcs[] = "$Id: parsers.c,v 1.282 2013/12/24 13:34:45 fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.285 2014/04/21 12:04:01 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
* to a single space in accordance with RFC 2616 2.2.
* This simplifies parsing and filtering later on.
*
- * XXX: Remove log messages before
- * the next stable release?
- *
* Parameters :
* 1 : header = A header with linear white space to reduce.
*
*********************************************************************/
static jb_err header_tagger(struct client_state *csp, char *header)
{
- int wanted_filter_type;
+ enum filter_type wanted_filter_type;
int multi_action_index;
pcrs_job *job;
struct re_filterfile_spec *b;
struct list_entry *filtername;
- int wanted_filter_type;
+ enum filter_type wanted_filter_type;
int multi_action_index;
if (csp->flags & CSP_FLAG_NO_FILTERING)
log_error(LOG_LEVEL_HEADER,
"Couldn't parse: '%s'. Using default timeout %u",
*header, csp->config->keep_alive_timeout);
+ freez(*header);
return JB_ERR_OK;
}
log_error(LOG_LEVEL_HEADER,
"Client keep-alive timeout is %u. Sticking with %u.",
keep_alive_timeout, csp->config->keep_alive_timeout);
+ freez(*header);
}
return JB_ERR_OK;