Skip to content

Commit 4d8c8ce

Browse files
authored
feat: Add chunk_count field to struct evhtp_request (#75)
1 parent aab3074 commit 4d8c8ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • libevhtp/libevhtp/include/evhtp

libevhtp/libevhtp/include/evhtp/evhtp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ struct evhtp_request {
417417
evhtp_proto proto; /**< HTTP protocol used */
418418
htp_method method; /**< HTTP method used */
419419
evhtp_res status; /**< The HTTP response code or other error conditions */
420+
size_t chunk_count; /**< number of chunks received so far */
420421
#define EVHTP_REQ_FLAG_KEEPALIVE (1 << 1)
421422
#define EVHTP_REQ_FLAG_FINISHED (1 << 2)
422423
#define EVHTP_REQ_FLAG_CHUNKED (1 << 3)

0 commit comments

Comments
 (0)