diff options
author | Marcin Siodelski <marcin@isc.org> | 2018-06-13 21:44:25 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2018-06-13 21:44:25 +0200 |
commit | 946c491328f2cc3286ff278d13e13e7fe095e6c2 (patch) | |
tree | 8d2abf71381d4356ddaebedcd29ad663ca901910 /src/lib/config/client_connection.h | |
parent | [master] Merge branch 'trac5644' (diff) | |
download | kea-946c491328f2cc3286ff278d13e13e7fe095e6c2.tar.xz kea-946c491328f2cc3286ff278d13e13e7fe095e6c2.zip |
[5649] ClientConnection timeout is delayed when transaction progresses.
Diffstat (limited to 'src/lib/config/client_connection.h')
-rw-r--r-- | src/lib/config/client_connection.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/config/client_connection.h b/src/lib/config/client_connection.h index e2b8f805ea..6321f34774 100644 --- a/src/lib/config/client_connection.h +++ b/src/lib/config/client_connection.h @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2017-2018 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -117,9 +117,11 @@ public: /// sent to the remote endpoint. When the entire command has been sent, /// the response is read asynchronously, possibly in multiple chunks. /// - /// The timeout is specified for the entire transaction in milliseconds. - /// If the transaction takes longer than the timeout value the connection - /// is closed and the callback is called with the error code of + /// The timeout is specified in milliseconds. The corresponding timer + /// measures the connection idle time. If the transaction is progressing, + /// the timer is updated accordingly. If the connection idle time is + /// longer than the timeout value the connection is closed and the + /// callback is called with the error code of /// @c boost::asio::error::timed_out. /// /// In other cases, the callback is called with the error code returned |