Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1afb002d
Unverified
Commit
1afb002d
authored
May 21, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
May 21, 2020
Browse files
Merge pull request #7296 from soloestoy/tracking-broken-redir
Tracking: flag CLIENT_TRACKING_BROKEN_REDIR when redir broken
parents
af342456
4f3ff46a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/tracking.c
View file @
1afb002d
...
@@ -206,6 +206,7 @@ void sendTrackingMessage(client *c, char *keyname, size_t keylen, int proto) {
...
@@ -206,6 +206,7 @@ void sendTrackingMessage(client *c, char *keyname, size_t keylen, int proto) {
if
(
c
->
client_tracking_redirection
)
{
if
(
c
->
client_tracking_redirection
)
{
client
*
redir
=
lookupClientByID
(
c
->
client_tracking_redirection
);
client
*
redir
=
lookupClientByID
(
c
->
client_tracking_redirection
);
if
(
!
redir
)
{
if
(
!
redir
)
{
c
->
flags
|=
CLIENT_TRACKING_BROKEN_REDIR
;
/* We need to signal to the original connection that we
/* We need to signal to the original connection that we
* are unable to send invalidation messages to the redirected
* are unable to send invalidation messages to the redirected
* connection, because the client no longer exist. */
* connection, because the client no longer exist. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment