diff options
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 52edbc4ce..bba1bc726 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -397,7 +397,7 @@ CURLcode Curl_write_plain(struct connectdata *conn, static CURLcode pausewrite(struct SessionHandle *data, int type, /* what type of data */ - char *ptr, + const char *ptr, size_t len) { /* signalled to pause sending on this connection, but since we have data @@ -429,6 +429,10 @@ static CURLcode pausewrite(struct SessionHandle *data, The bit pattern defines to what "streams" to write to. Body and/or header. The defines are in sendf.h of course. + + If CURL_DO_LINEEND_CONV is enabled, data is converted IN PLACE to the + local character encoding. This is a problem and should be changed in + the future to leave the original data alone. */ CURLcode Curl_client_write(struct connectdata *conn, int type, |