Skip to content

Send part 5 - mime client reader - #13039

Closed
icing wants to merge 6 commits into
curl:masterfrom
icing:send-part-5
Closed

icing wants to merge 6 commits into
curl:masterfrom
icing:send-part-5

Conversation

@icing

@icing icing commented Mar 4, 2024 •

Copy link
Copy Markdown
Contributor

On top of #13026.

Add mime client reader. Encapsulates reading from mime parts, getting their length, rewinding and unpausing.

  • remove special mime handling from sendf.c and easy.c
  • add general "unpause" method to client readers
  • use new reader in http/imap/smtp
  • make some mime functions static that are now only used internally

In addition:

  • remove flag 'forbidchunk' as no longer needed

icing added 6 commits March 5, 2024 14:12
…signed but never readfix ubuntu scanbuild, assigned but never readfix ubuntu scanbuild, assigned but never readfix ubuntu scanbuild, assigned but never readfix ubuntu scanbuild, assigned but never readfix ubuntu scanbuild, assigned but never readfix ubuntu scanbuild, assigned but never read
- special client reader for mime posts
- add "unpause" method to client readers
- use new reader in http/imap/smtp
- make some mime functions static
- remove flag 'forbidchunk' as no longer needed
- also fix Curl_creader_set_mime() to free the reader should
  the rewind fail.
@bagder bagder closed this in 0ba4714 Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants