]> git.ipfire.org Git - thirdparty/curl.git/commit
pingpong: stop using the download buffer
authorDaniel Stenberg <daniel@haxx.se>
Sun, 21 Jan 2024 23:04:47 +0000 (00:04 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2024 07:34:23 +0000 (08:34 +0100)
commitc2d973627bab12abc5486a3f37ce40ed16da0641
tree59e978daff613b754447e3f9a328fdc361364b0d
parent196074e73feded8d8de9003837853622d463667e
pingpong: stop using the download buffer

The pingpong logic now uses its own dynbuf for receiving command
response data.

When the "final" response header for a commanad has been received, that
final line is left first in the recvbuf for the protocols to parse at
will. If there is additional data behind the final response line, the
'overflow' counter is indicate how many bytes.

Closes #12757
lib/ftp.c
lib/imap.c
lib/pingpong.c
lib/pingpong.h
lib/pop3.c
lib/smtp.c
tests/data/test250