mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Use isc_buffer_t to keep track of incoming POST data
This commit replaces the ad-hoc 64K buffer for incoming POST data with isc_buffer_t backed by dynamically allocated buffer sized accordingly to the value in the "Content-Length" header.
This commit is contained in:
@@ -803,6 +803,7 @@ typedef struct isc_nmsocket_h2 {
|
||||
uint8_t *buf;
|
||||
size_t bufsize;
|
||||
size_t bufpos;
|
||||
isc_buffer_t rbuf;
|
||||
|
||||
int32_t stream_id;
|
||||
isc_nm_http_session_t *session;
|
||||
|
Reference in New Issue
Block a user