mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
Curl_client_write() & al.: chop long data, convert data only once.
This commit is contained in:
parent
e63d18fbd1
commit
6ea4ee94f9
3 changed files with 102 additions and 133 deletions
|
|
@ -51,6 +51,8 @@ void Curl_failf(struct SessionHandle *, const char *fmt, ...);
|
|||
#define CLIENTWRITE_HEADER (1<<1)
|
||||
#define CLIENTWRITE_BOTH (CLIENTWRITE_BODY|CLIENTWRITE_HEADER)
|
||||
|
||||
CURLcode Curl_client_chop_write(struct connectdata *conn, int type, char *ptr,
|
||||
size_t len) WARN_UNUSED_RESULT;
|
||||
CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr,
|
||||
size_t len) WARN_UNUSED_RESULT;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue