smtp: use easy handle/connectin meta for proto structs

Move `struct smtp_conn` and `struct STMP` into the meta data at easy
handle/connection. Remove it from the unions at connectdata and request.

Closes #17257
This commit is contained in:
Stefan Eissing 2025-05-06 12:38:15 +02:00 committed by Daniel Stenberg
parent bc46ff2d2b
commit 7b92844639
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 320 additions and 244 deletions

View file

@ -75,9 +75,9 @@ struct pingpong {
#define PINGPONG_SETUP(pp,s,e) \
do { \
pp->response_time = RESP_TIMEOUT; \
pp->statemachine = s; \
pp->endofresp = e; \
(pp)->response_time = RESP_TIMEOUT; \
(pp)->statemachine = s; \
(pp)->endofresp = e; \
} while(0)
/*