diff options
author | Joe Cai <joe.cai@bigcommerce.com> | 2020-04-20 09:03:11 +1000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-20 10:25:54 +0200 |
commit | 94e09bfe558656d3f1470dc960b900a951b0dffc (patch) | |
tree | 672e81c0aacc70987f934e34e7857a0788b1962c /ext/sqlite3/php_sqlite3_structs.h | |
parent | d31ccb5fc8a0f6f5fded085ee170c8bd99eb83e7 (diff) | |
download | php-git-94e09bfe558656d3f1470dc960b900a951b0dffc.tar.gz |
Fix #79497: Fix php_openssl_subtract_timeval()
I stumbled upon this while debugging a strange issue with
stream_socket_client() where it randomly throws out errors when
the connection timeout is set to below 1s. The logic to calculate
time difference in php_openssl_subtract_timeval() is wrong when
a.tv_usec < b.tv_usec, causing connection errors before the timeout
is reached.
Diffstat (limited to 'ext/sqlite3/php_sqlite3_structs.h')
0 files changed, 0 insertions, 0 deletions