History log of /curl/lib/file.c (Results 51 – 75 of 237)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: curl-7_61_1
# 2825f46d 18-Aug-2018 Daniel Stenberg

CURLOPT_UPLOAD_BUFFERSIZE: set upload buffer size

This is step 3 of #2888.

Fixes #2888
Closes #2896


# 1a890997 31-Aug-2018 Daniel Stenberg

all: s/int/size_t cleanup

Assisted-by: Rikard Falkeborn

Closes #2922


Revision tags: curl-7_61_0
# c45360d4 02-Jun-2018 Marian Klymov

cppcheck: fix warnings

- Get rid of variable that was generating false positive warning
(unitialized)

- Fix issues in tests

- Reduce scope of several variables all over

cppcheck: fix warnings

- Get rid of variable that was generating false positive warning
(unitialized)

- Fix issues in tests

- Reduce scope of several variables all over

etc

Closes #2631

show more ...


# 4bd91bc4 03-Jun-2018 Viktor Szakats

spelling fixes

Detected using the `codespell` tool (version 1.13.0).

Also secure and fix an URL.


Revision tags: curl-7_60_0, curl-7_59_0
# ddd31dc5 31-Jan-2018 Daniel Stenberg

time_t-fixes: remove typecasts to 'long' for info.filetime

They're now wrong.

Reported-by: Michael Kaufmann

Closes #2277


# 811d96e9 30-Jan-2018 Max Dymond

file: Check the return code from Curl_range and bail out on error


# e04417d9 29-Jan-2018 Max Dymond

Curl_range: commonize FTP and FILE range handling

Closes #2205


Revision tags: curl-7_58_0, curl-7_57_0
# 5d543fe9 25-Oct-2017 Daniel Stenberg

time: rename Curl_tvnow to Curl_now

... since the 'tv' stood for timeval and this function does not return a
timeval struct anymore.

Also, cleaned up the Curl_timediff*() functi

time: rename Curl_tvnow to Curl_now

... since the 'tv' stood for timeval and this function does not return a
timeval struct anymore.

Also, cleaned up the Curl_timediff*() functions to avoid typecasts and
clean up the descriptive comments.

Closes #2011

show more ...


Revision tags: curl-7_56_1, curl-7_56_0
# afbdc966 22-Sep-2017 Daniel Stenberg

file_range: avoid integer overflow when figuring out byte range

When trying to bump the value with one and the value is already at max,
it causes an integer overflow.

Closes #19

file_range: avoid integer overflow when figuring out byte range

When trying to bump the value with one and the value is already at max,
it causes an integer overflow.

Closes #1908
Detected by oss-fuzz:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3465

Assisted-by: Max Dymond

show more ...


# e5743f08 09-Sep-2017 Daniel Stenberg

code style: use spaces around pluses


# 6b84438d 09-Sep-2017 Daniel Stenberg

code style: use spaces around equals signs


# ff50fe03 14-Aug-2017 Daniel Stenberg

strtoofft: reduce integer overflow risks globally

... make sure we bail out on overflows.

Reported-by: Brian Carpenter
Closes #1758


Revision tags: curl-7_55_1, curl-7_55_0
# c9332fa5 01-Aug-2017 Even Rouault

file: output the correct buffer to the user

Regression brought by 7c312f84ea930d8 (April 2017)

CVE-2017-1000099

Bug: https://curl.haxx.se/docs/adv_20170809C.html

C

file: output the correct buffer to the user

Regression brought by 7c312f84ea930d8 (April 2017)

CVE-2017-1000099

Bug: https://curl.haxx.se/docs/adv_20170809C.html

Credit to OSS-Fuzz for the discovery

show more ...


Revision tags: curl-7_54_1
# c75f63d7 31-May-2017 Max Dymond

handler: refactor connection checking

Add a new type of callback to Curl_handler which performs checks on
the connection. Alter RTSP so that it uses this callback to do its
own check

handler: refactor connection checking

Add a new type of callback to Curl_handler which performs checks on
the connection. Alter RTSP so that it uses this callback to do its
own check on connection health.

show more ...


# 68c6dcb2 07-Jun-2017 Daniel Stenberg

file: make speedcheck use current time for checks

... as it would previously just get the "now" timestamp before the
transfer starts and then not update it again.

Closes #1550


# e40e9d7f 25-Apr-2017 Daniel Stenberg

buffer: use data->set.buffer_size instead of BUFSIZE

... to properly use the dynamically set buffer size!


# 89cf6f38 25-Apr-2017 Daniel Stenberg

upload: UPLOAD_BUFSIZE is now for the upload buffer


# 7c312f84 24-Apr-2017 Daniel Stenberg

file: use private buffer for C-L output

... instead of clobbering the download buffer.


Revision tags: curl-7_54_0
# 66de5634 10-Mar-2017 Sylvestre Ledru

Improve code readbility

... by removing the else branch after a return, break or continue.

Closes #1310


Revision tags: curl-7_53_1, curl-7_53_0, curl-7_52_1
# 6b761669 20-Dec-2016 Richy Kim

CURLOPT_BUFFERSIZE: support enlarging receive buffer

Replace use of fixed macro BUFSIZE to define the size of the receive
buffer. Reappropriate CURLOPT_BUFFERSIZE to include enlarging r

CURLOPT_BUFFERSIZE: support enlarging receive buffer

Replace use of fixed macro BUFSIZE to define the size of the receive
buffer. Reappropriate CURLOPT_BUFFERSIZE to include enlarging receive
buffer size. Upon setting, resize buffer if larger than the current
default size up to a MAX_BUFSIZE (512KB). This can benefit protocols
like SFTP.

Closes #1222

show more ...


Revision tags: curl-7_52_0
# dbadaebf 23-Nov-2016 Daniel Stenberg

checksrc: code style: use 'char *name' style


# f9e51fb5 01-Nov-2016 Michael Kaufmann

file: fix compiler warning

follow-up to 46133aa5


Revision tags: curl-7_51_0
# 46133aa5 08-Oct-2016 Daniel Stenberg

escape: avoid using curl_easy_unescape() internally

Since the internal Curl_urldecode() function has a better API.


Revision tags: curl-7_50_3, curl-7_50_2, curl-7_50_1, curl-7_50_0
# bf430ecd 13-Jul-2016 Miroslav Franc

library: Fix memory leaks found during static analysis

Closes https://github.com/curl/curl/pull/913


# 434f8d03 21-Jun-2016 Daniel Stenberg

internals: rename the SessionHandle struct to Curl_easy


12345678910