summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-06-05 14:04:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-06-05 17:57:24 +0200
commitd957ed4941d7f90eecc294490adee8055ab251f3 (patch)
tree49740038226bc05ecbe68eb7422dd28dd5985cb0 /lib/urldata.h
parenta00668d2961dc3e2340c4c30375051ec8b55c68c (diff)
downloadcurl-d957ed4941d7f90eecc294490adee8055ab251f3.tar.gz
trailers: switch h1-trailer logic to use dynbuf
In the continued effort to remove "manual" realloc schemes. Closes #5524
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index d3cc5356e..1882914e0 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1064,10 +1064,8 @@ struct connectdata {
/* data used for the asynch name resolve callback */
struct Curl_async async;
- /* These three are used for chunked-encoding trailer support */
- char *trailer; /* allocated buffer to store trailer in */
- int trlMax; /* allocated buffer size */
- int trlPos; /* index of where to store data */
+ /* for chunked-encoded trailer */
+ struct dynbuf trailer;
union {
struct ftp_conn ftpc;