}
if (!tx_ud->response_body_init) {
tx_ud->response_body_init = 1;
- tx_ud->operation = HTP_BODY_REQUEST;
if (d->tx->request_method_number == HTP_M_POST) {
SCLogDebug("POST");
}
if (!tx_ud->request_body_init) {
tx_ud->request_body_init = 1;
- tx_ud->operation = HTP_BODY_RESPONSE;
}
/* see if we can get rid of htp body chunks */
#define HTP_FLAG_STORE_FILES_TX_TS 0x0100
#define HTP_FLAG_STORE_FILES_TX_TC 0x0200
-enum {
- HTP_BODY_NONE = 0, /**< Flag to indicate the current
- operation */
- HTP_BODY_REQUEST, /**< Flag to indicate that the
- current operation is a request */
- HTP_BODY_RESPONSE /**< Flag to indicate that the current
- * operation is a response */
-};
-
enum {
HTP_BODY_REQUEST_NONE = 0,
HTP_BODY_REQUEST_MULTIPART, /* POST, MP */
uint8_t tsflags;
uint8_t tcflags;
- int16_t operation;
-
uint8_t request_body_type;
uint8_t response_body_type;