htp_file_t Struct Reference

#include <htp.h>

Data Fields

enum htp_file_source_t source
bstrfilename
int64_t len
char * tmpname
int fd

Detailed Description

Used to represent files that are seen during the processing of HTTP traffic. Most commonly this refers to files seen in multipart/form-data payloads. In addition, PUT request bodies can be treated as files.


Field Documentation

The file descriptor used for external storage, or -1 if unused.

File name, as provided (e.g., in the Content-Disposition multipart part header.

int64_t htp_file_t::len

File length.

Where did this file come from? Possible values: HTP_FILE_MULTIPART and HTP_FILE_PUT.

The unique filename in which this file is stored on the filesystem, when applicable.


The documentation for this struct was generated from the following file:

Generated on 1 Jan 2017 for HTP by  doxygen 1.6.1