From 61022f3817dc7bc4d7b75d5e948b838ea0c5edc1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 20 Apr 2007 00:07:19 +0000 Subject: - Save one call to curlx_tvnow(), which calls gettimeofday(), in each of Curl_socket_ready(), Curl_poll() and Curl_select() when these are called with a zero timeout or a timeout value indicating a blocking call should be performed. These unnecessary calls to gettimeofday() got introduced in 7.16.2 when fixing 'timeout would restart when signal caught while awaiting socket events' on 20 March 2007. - Move some loop breaking logic from the while clause into the loop, avoiding compiler warning 'assignment within conditional expression' --- RELEASE-NOTES | 1 + 1 file changed, 1 insertion(+) (limited to 'RELEASE-NOTES') diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5dee28b67..2c0c69cde 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -22,6 +22,7 @@ This release includes the following bugfixes: for a host which was supposed not to exist. o test suite SSL certificate works better with newer stunnel o internal progress meter update frequency back to once per second + o avoid some unnecessary calls to function gettimeofday This release includes the following known bugs: -- cgit v1.2.3