Bug #79559 [NEW]: TLS connections timing-out on 7.4 (all versions after 7.3.17)
| From: | imnieves at gmail dot com | Date: | Sat, 02 May 2020 23:06:49 +0000 |
| Subject: | Bug #79559 [NEW]: TLS connections timing-out on 7.4 (all versions after 7.3.17) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-226883@lists.php.net to get a copy of this message | ||
From: imnieves at gmail dot com
Operating system: Linux
PHP version: 7.4.5
Package: *Encryption and hash functions
Bug Type: Bug
Bug description:TLS connections timing-out on 7.4 (all versions after 7.3.17)
Description:
------------
Several users of phpredis (a PHP interface to Redis) have noticed (in
php from 7.4.0 and onwards) that TLS connections to Redis time out.
When we establish non-TLS connections to Redis (using the same
phpredis), we experience no timeout.
I have personally verified the issue exists on all versions of 7.4 from
7.4.0 to 7.4.5, and that the issue does not exists on version 7.3.17
Test script:
---------------
The test script is longer than 20 lines, so here is a link:
https://github.com/phpredis/phpredis/issues/1726
Here you can find the script, its output, log trace, and explanation of
test setup.
Expected result:
----------------
The expectation is that TLS connections are either established or not in
a consistent amount of time, but not seemingly randomly timing out
(taking a large amount of time to fail).
Actual result:
--------------
The actual result is that TLS connections are being established in an
inconsistent amount of time.
--
Edit bug report at https://bugs.php.net/bug.php?id=79559&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79559&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79559&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79559&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79559&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79559&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79559&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79559&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79559&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79559&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79559&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79559&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79559&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79559&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79559&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79559&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79559&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79559&r=mysqlcfg