mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:23:31 +03:00
mime: latch last read callback status.
In case a read callback returns a status (pause, abort, eof, error) instead of a byte count, drain the bytes read so far but remember this status for further processing. Takes care of not losing data when pausing, and properly resume a paused mime structure when requested. New tests 670-673 check unpausing cases, with easy or multi interface and mime or form api. Fixes #4813 Reported-by: MrdUkk on github Closes #4833
This commit is contained in:
parent
cf1466bd47
commit
87869e38d7
13 changed files with 616 additions and 12 deletions
|
|
@ -86,6 +86,7 @@ test635 test636 test637 test638 test639 test640 test641 test642 \
|
|||
test643 test644 test645 test646 test647 test648 test649 test650 test651 \
|
||||
test652 test653 test654 test655 test656 test658 test659 test660 test661 \
|
||||
test662 test663 \
|
||||
test670 test671 test672 test673 \
|
||||
\
|
||||
test700 test701 test702 test703 test704 test705 test706 test707 test708 \
|
||||
test709 test710 test711 test712 test713 test714 test715 test716 test717 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue