Loading CHANGES +11 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,17 @@ History of Changes Daniel (31 January 2001) - Curl_read() and curl_read() now return a ssize_t for the size, as it had to be able to return -1. The telnet support crashed due to this and there was a possibility to weird behaviour all over. Daniel (30 January 2001) - I finally took a stab at the long-term FIXME item I've had on myself, and now libcurl will properly work when doing a HTTP range-request that follows a Location:. Previously that would make libcurl fail saying that the server doesn't seem to support range requests. Daniel (29 January 2001) - I added a test case for the HTTP PUT resume thing (test case 33). Loading include/curl/curl.h +1 −1 Original line number Diff line number Diff line Loading @@ -554,7 +554,7 @@ CURLcode curl_setopt(CURL *handle, CURLoption option, ...); CURLcode curl_close(CURL *curl); /* the opposite of curl_open() */ CURLcode curl_read(CURLconnect *c_conn, char *buf, size_t buffersize, size_t *n); ssize_t *n); CURLcode curl_write(CURLconnect *c_conn, char *buf, size_t amount, size_t *n); Loading lib/ftp.c +1 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,7 @@ int Curl_GetFTPResponse(int sockfd, char *buf, int *ftpcode) { int nread; size_t keepon=TRUE; ssize_t keepon=TRUE; char *ptr; int timeout = 3600; /* in seconds */ struct timeval interval; Loading lib/http.c +1 −1 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ CURLcode add_buffer(send_buffer *in, void *inptr, size_t size) static int GetLine(int sockfd, char *buf, struct connectdata *conn) { size_t nread; ssize_t nread; int read_rc=1; char *ptr; struct UrlData *data=conn->data; Loading lib/sendf.c +3 −3 Original line number Diff line number Diff line Loading @@ -198,10 +198,10 @@ CURLcode Curl_client_write(struct UrlData *data, */ CURLcode Curl_read(struct connectdata *conn, int sockfd, char *buf, size_t buffersize, size_t *n) ssize_t *n) { struct UrlData *data = conn->data; size_t nread; ssize_t nread; #ifdef USE_SSLEAY if (data->ssl.use) { Loading Loading @@ -234,7 +234,7 @@ CURLcode Curl_read(struct connectdata *conn, int sockfd, */ CURLcode curl_read(CURLconnect *c_conn, char *buf, size_t buffersize, size_t *n) ssize_t *n) { struct connectdata *conn = (struct connectdata *)c_conn; Loading Loading
CHANGES +11 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,17 @@ History of Changes Daniel (31 January 2001) - Curl_read() and curl_read() now return a ssize_t for the size, as it had to be able to return -1. The telnet support crashed due to this and there was a possibility to weird behaviour all over. Daniel (30 January 2001) - I finally took a stab at the long-term FIXME item I've had on myself, and now libcurl will properly work when doing a HTTP range-request that follows a Location:. Previously that would make libcurl fail saying that the server doesn't seem to support range requests. Daniel (29 January 2001) - I added a test case for the HTTP PUT resume thing (test case 33). Loading
include/curl/curl.h +1 −1 Original line number Diff line number Diff line Loading @@ -554,7 +554,7 @@ CURLcode curl_setopt(CURL *handle, CURLoption option, ...); CURLcode curl_close(CURL *curl); /* the opposite of curl_open() */ CURLcode curl_read(CURLconnect *c_conn, char *buf, size_t buffersize, size_t *n); ssize_t *n); CURLcode curl_write(CURLconnect *c_conn, char *buf, size_t amount, size_t *n); Loading
lib/ftp.c +1 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,7 @@ int Curl_GetFTPResponse(int sockfd, char *buf, int *ftpcode) { int nread; size_t keepon=TRUE; ssize_t keepon=TRUE; char *ptr; int timeout = 3600; /* in seconds */ struct timeval interval; Loading
lib/http.c +1 −1 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ CURLcode add_buffer(send_buffer *in, void *inptr, size_t size) static int GetLine(int sockfd, char *buf, struct connectdata *conn) { size_t nread; ssize_t nread; int read_rc=1; char *ptr; struct UrlData *data=conn->data; Loading
lib/sendf.c +3 −3 Original line number Diff line number Diff line Loading @@ -198,10 +198,10 @@ CURLcode Curl_client_write(struct UrlData *data, */ CURLcode Curl_read(struct connectdata *conn, int sockfd, char *buf, size_t buffersize, size_t *n) ssize_t *n) { struct UrlData *data = conn->data; size_t nread; ssize_t nread; #ifdef USE_SSLEAY if (data->ssl.use) { Loading Loading @@ -234,7 +234,7 @@ CURLcode Curl_read(struct connectdata *conn, int sockfd, */ CURLcode curl_read(CURLconnect *c_conn, char *buf, size_t buffersize, size_t *n) ssize_t *n) { struct connectdata *conn = (struct connectdata *)c_conn; Loading