mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
pop3: use the protocol handler ->write_resp
Remove the "hardcoded" logic for the pop3 transfer handler and instead use the generic protocol handler write_resp function. Remove the check for 'data->req.ignorebody' because I cannot find a code flow where this is set for POP3. Closes #14684
This commit is contained in:
parent
10873ec5a9
commit
89b9fb64a5
3 changed files with 14 additions and 20 deletions
|
|
@ -90,9 +90,4 @@ extern const struct Curl_handler Curl_handler_pop3s;
|
|||
#define POP3_EOB "\x0d\x0a\x2e\x0d\x0a"
|
||||
#define POP3_EOB_LEN 5
|
||||
|
||||
/* This function scans the body after the end-of-body and writes everything
|
||||
* until the end is found */
|
||||
CURLcode Curl_pop3_write(struct Curl_easy *data,
|
||||
const char *str, size_t nread);
|
||||
|
||||
#endif /* HEADER_CURL_POP3_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue