Replies: 1 comment
-
I believe you're right, thanks for spotting this! The error has been there since the very first commit of that code in 2017 and is fixed now in 30d9a55. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
mod_auth_openidc/src/cache/memcache.c
Line 229 in 28557c1
doesn't it need to be
because otherwise I don't see how we iterate over all servers as the loop body in
mod_auth_openidc/src/cache/memcache.c
Lines 228 to 229 in 28557c1
is invariant as neither
i
is used nor the array pointer oflive_servers
gets incremented.Furthermore, what should be tested? That all servers are up? In this case the check would be correct, but I guess we would like to check that a least one server is up and hence the check would need to be:
or
Beta Was this translation helpful? Give feedback.
All reactions