]> git.ipfire.org Git - thirdparty/curl.git/commit
mimepost: allocate main struct on-demand
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 Jan 2026 08:30:25 +0000 (09:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Jan 2026 15:21:02 +0000 (16:21 +0100)
commit44312b4b11094e08f4dc9914d50860997d9a5bec
tree8e5120c5606f815a29b194c22fc57a387eee63da
parent9e0b02c19c5b87790361ed898804866d0bcb1d99
mimepost: allocate main struct on-demand

This makes the easy handle 432 bytes smaller (totally 5352 bytes on my
rather maximized Linux 64 bit build). The 440 byte mimepost struct is
now allocated only when needed.

Closes #20260
lib/easy.c
lib/http.c
lib/imap.c
lib/setopt.c
lib/smtp.c
lib/url.c
lib/urldata.h
tests/libtest/lib589.c
tests/unit/unit3214.c