ngtcp2: convert to dynbuf

Closes #5335
This commit is contained in:
Daniel Stenberg 2020-05-04 11:37:12 +02:00
parent 7a86a25f5b
commit 18815aa670
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 23 additions and 90 deletions

View file

@ -182,9 +182,7 @@ struct HTTP {
#ifdef USE_NGHTTP3
size_t unacked_window;
struct h3out *h3out; /* per-stream buffers for upload */
char *overflow_buf; /* excess data received during a single Curl_read */
size_t overflow_buflen; /* amount of data currently in overflow_buf */
size_t overflow_bufsize; /* size of the overflow_buf allocation */
struct dynbuf overflow; /* excess data received during a single Curl_read */
#endif
};