URL:
https://github.com/SSSD/sssd/pull/327
Author: jhrozek
Title: #327: RESPONDERS: Fix terminating idle connections
Action: opened
PR body:
"""
The client_idle_handler() function tried to schedule another tevent timer
to check for idle client connections in case the current connection was
still valid, but in doing so, it also stored the current time into the
last_request_time field of the client context.
This kept the connection always alive, because the last_request_time could
then never be older than the timeout.
This patch changes the setup_client_idle_timer() function to only do what
the synopsis says and set the idle timer. The caller (usually the function
that accepts the connection) is supposed to store the request time itself.
To test, revert the patch with the code fix and run the integration test
in the other patch.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/327/head:pr327
git checkout pr327