aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-10-04 15:16:52 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-10-04 15:16:52 +0200
commitb8cd00d00fa4dd2c45615c6b0367e3b57e12e98d (patch)
treef67e27ac1046c4bd6ba544173c48608679c71d33 /include
parentca70c2ae2217e20cebfe3b8a7aa967cba20e5b4f (diff)
http.c: Always call ctx_to_payload
Defining each struct http_payload manually had the risk of missing some member on the initializer. This was in fact the case for `n_headers` and `headers`, which were only assigned by ctx_to_payload, and therefore some specific HTTP requests would mistakenly not reflect such information to users.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions