WebDAV: added logging of deadline
Nightly testing did not resend a PUT when it could (should?) have because the deadline was exceeded. Added logging to track down what the chosen deadline is.
This commit is contained in:
parent
7441eb1711
commit
f0f2fe5325
1 changed files with 5 additions and 2 deletions
|
@ -474,9 +474,12 @@ int Session::propIterator(void *userdata,
|
|||
|
||||
void Session::startOperation(const string &operation, const Timespec &deadline)
|
||||
{
|
||||
SE_LOG_DEBUG(NULL, NULL, "starting %s, credentials %s",
|
||||
SE_LOG_DEBUG(NULL, NULL, "starting %s, credentials %s, %s",
|
||||
operation.c_str(),
|
||||
m_settings->getCredentialsOkay() ? "okay" : "unverified");
|
||||
m_settings->getCredentialsOkay() ? "okay" : "unverified",
|
||||
deadline ? StringPrintf("deadline in %.1lfs",
|
||||
(deadline - Timespec::monotonic()).duration()).c_str() :
|
||||
"no deadline");
|
||||
|
||||
// remember current operation attributes
|
||||
m_operation = operation;
|
||||
|
|
Loading…
Reference in a new issue