mirror of
https://github.com/apache/httpd.git
synced 2026-10-23 22:49:01 +03:00
client. * modules/cache/mod_socache_redis.c (RD_DEFAULT_SERVER_RWTO): Define in seconds rather than microseconds. (socache_rd_set_timeout): Convert the timeout from apr_time_t to whole seconds, rounding up so a positive value does not become 0. * test/modules/ssl/env.py (SSLTestSetup.__init__): Add socache_redis as an optional module. * test/modules/ssl/test_004_socache_redis.py: New test using a silent Redis server to verify that RedisTimeout values are applied with the expected whole-second rounding. Submitted by: Christophe JAILLET, Arturo Bernal <abernal apache.org> GitHub: closes #790 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938833 13f79535-47bb-0310-9956-ffa450edef68
4 lines
198 B
Plaintext
4 lines
198 B
Plaintext
*) mod_socache_redis: Fix the unit of the RedisTimeout passed to the Redis
|
|
client, which made the read/write timeout practically infinite.
|
|
PR 70193. [Christophe JAILLET, Arturo Bernal]
|