You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Redis stream commands such as xread return an error if the Redis server doesn't send a response of any kind. This can happen due to network or server errors (such as if the return path of a network connection is broken).
Actual behavior
Command blocks indefinitely.
This is a result of setting the client socket SOTimeout to infinite in this PR - #2059
Steps to reproduce:
Start a listening socket for Redis (eg nc -l 6379).
Connect and send a xread command.
Regardless of the block value, the command with hang indefinitely trying to read data from the socket.
Redis / Jedis Configuration
Jedis version:
3.3.0
Redis version:
5.0.9
Java version:
11
The text was updated successfully, but these errors were encountered:
Expected behavior
The Redis stream commands such as
xread
return an error if the Redis server doesn't send a response of any kind. This can happen due to network or server errors (such as if the return path of a network connection is broken).Actual behavior
Command blocks indefinitely.
This is a result of setting the client socket SOTimeout to infinite in this PR - #2059
Steps to reproduce:
Start a listening socket for Redis (eg
nc -l 6379
).Connect and send a
xread
command.Regardless of the
block
value, the command with hang indefinitely trying to read data from the socket.Redis / Jedis Configuration
Jedis version:
3.3.0
Redis version:
5.0.9
Java version:
11
The text was updated successfully, but these errors were encountered: