HTP  0.3
Functions
htp_request_apache_2_2.c File Reference
#include "htp.h"
Include dependency graph for htp_request_apache_2_2.c:

Functions

int htp_process_request_header_apache_2_2 (htp_connp_t *connp)
int htp_parse_request_header_apache_2_2 (htp_connp_t *connp, htp_header_t *h, unsigned char *data, size_t len)
int htp_parse_request_line_apache_2_2 (htp_connp_t *connp)

Detailed Description

Author
Ivan Ristic ivanr.nosp@m.@web.nosp@m.kreat.nosp@m.or.c.nosp@m.om

Function Documentation

int htp_parse_request_header_apache_2_2 ( htp_connp_t connp,
htp_header_t h,
unsigned char *  data,
size_t  len 
)

Parses a message header line as Apache 2.2 does.

Parameters
connp
h
data
len
Returns
HTP_OK or HTP_ERROR

Here is the call graph for this function:

Here is the caller graph for this function:

int htp_parse_request_line_apache_2_2 ( htp_connp_t connp)

Parse request line as Apache 2.2 does.

Parameters
connp
Returns
HTP_OK or HTP_ERROR

Here is the call graph for this function:

Here is the caller graph for this function:

int htp_process_request_header_apache_2_2 ( htp_connp_t connp)

Extract one request header. A header can span multiple lines, in which case they will be folded into one before parsing is attempted.

Parameters
connp
Returns
HTP_OK or HTP_ERROR

Here is the call graph for this function:

Here is the caller graph for this function: