Go to the documentation of this file.
63 #define HTP_VERSION_STRING "master"
66 #define HTP_VERSION_NUMBER 500
74 #define HTP_ERROR_RESERVED -1000
84 #define HTP_DECLINED 0
105 #define HTP_DATA_OTHER 3
118 #define HTP_DATA_BUFFER 5
123 #define HTP_STATUS_RESERVED 1000
201 #define HTP_CONN_PIPELINED 0x00000001
202 #define HTP_CONN_HTTP_0_9_EXTRA 0x00000002
205 #define HTP_FIELD_UNPARSEABLE 0x00000004
206 #define HTP_FIELD_INVALID 0x00000008
207 #define HTP_FIELD_FOLDED 0x00000010
208 #define HTP_FIELD_REPEATED 0x00000020
209 #define HTP_FIELD_LONG 0x00000040
210 #define HTP_FIELD_RAW_NUL 0x00000080
211 #define HTP_REQUEST_SMUGGLING 0x00000100
212 #define HTP_INVALID_FOLDING 0x00000200
213 #define HTP_REQUEST_INVALID_T_E 0x00000400
214 #define HTP_MULTI_PACKET_HEAD 0x00000800
215 #define HTP_HOST_MISSING 0x00001000
216 #define HTP_HOST_AMBIGUOUS 0x00002000
217 #define HTP_PATH_ENCODED_NUL 0x00004000
218 #define HTP_PATH_INVALID_ENCODING 0x00008000
219 #define HTP_PATH_INVALID 0x00010000
220 #define HTP_PATH_OVERLONG_U 0x00020000
221 #define HTP_PATH_ENCODED_SEPARATOR 0x00040000
222 #define HTP_PATH_UTF8_VALID 0x00080000
223 #define HTP_PATH_UTF8_INVALID 0x00100000
224 #define HTP_PATH_UTF8_OVERLONG 0x00200000
225 #define HTP_PATH_HALF_FULL_RANGE 0x00400000
226 #define HTP_STATUS_LINE_INVALID 0x00800000
227 #define HTP_HOSTU_INVALID 0x01000000
228 #define HTP_HOSTH_INVALID 0x02000000
229 #define HTP_URLEN_ENCODED_NUL 0x04000000
230 #define HTP_URLEN_INVALID_ENCODING 0x08000000
231 #define HTP_URLEN_OVERLONG_U 0x10000000
232 #define HTP_URLEN_HALF_FULL_RANGE 0x20000000
233 #define HTP_REQUEST_INVALID 0x40000000
234 #define HTP_REQUEST_INVALID_C_L 0x80000000
236 #define HTP_HOST_INVALID ( HTP_HOSTU_INVALID | HTP_HOSTH_INVALID )
239 #define HTP_LOG_MARK __FILE__,__LINE__
304 #define HTP_PROTOCOL_INVALID -2
305 #define HTP_PROTOCOL_UNKNOWN -1
306 #define HTP_PROTOCOL_0_9 9
307 #define HTP_PROTOCOL_1_0 100
308 #define HTP_PROTOCOL_1_1 101
325 #define HTP_STATUS_INVALID -1
326 #define HTP_STATUS_UNKNOWN 0