diff options
| author | lijia <[email protected]> | 2024-06-21 14:32:39 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-06-21 16:16:26 +0800 |
| commit | 5d0168f5eb8c263b3e9b940b99b2c2097ee99282 (patch) | |
| tree | 066127ce92dbae231bce2dc0133071dc1d123f46 /src/http_decoder_half.cpp | |
| parent | a2e5617ed5f32078b9e2fc1f1a2649aaef6b0eec (diff) | |
add asymmetric test case.
Diffstat (limited to 'src/http_decoder_half.cpp')
| -rw-r--r-- | src/http_decoder_half.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http_decoder_half.cpp b/src/http_decoder_half.cpp index 6074307..b2d3f07 100644 --- a/src/http_decoder_half.cpp +++ b/src/http_decoder_half.cpp @@ -1048,12 +1048,11 @@ int http_half_data_get_total_parsed_header_count(struct http_decoder_half_data * void http_half_pre_context_free(struct session *sess, struct http_decoder_exdata *exdata) { struct http_message *msg = NULL; - struct http_decoder_half_data *req_data; struct http_decoder_half_data *res_data; struct http_decoder_result_queue *queue = exdata->queue; for(int i = 0; i < queue->queue_size; i++){ - req_data = queue->array[i].req_data; + struct http_decoder_half_data *req_data = queue->array[i].req_data; res_data = queue->array[i].res_data; if ((req_data != NULL) && (NULL == res_data) && (req_data->state < HTTP_EVENT_REQ_END)) { |
