summaryrefslogtreecommitdiff
path: root/src/HttpServerCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-10-03 17:59:39 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-10-03 17:59:39 +0900
commitc81b1321122e8509b55c94c0cbca0d8d6d319f0c (patch)
treef24b49dd9cceb006172dbd09da4e5f5d3371241b /src/HttpServerCommand.cc
parentc63fc414c389c893c80022669a7d75f3c6869c7e (diff)
parent85faafcaf233855042aead1cc522375fa7955d7e (diff)
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/HttpServerCommand.cc')
-rw-r--r--src/HttpServerCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc
index 59159a82..bab3ab29 100644
--- a/src/HttpServerCommand.cc
+++ b/src/HttpServerCommand.cc
@@ -253,7 +253,7 @@ bool HttpServerCommand::execute()
return true;
}
} else {
- if(timeoutTimer_.difference(global::wallclock()) >= 30) {
+ if(timeoutTimer_.difference(global::wallclock()) >= 30_s) {
A2_LOG_INFO("HTTP request timeout.");
return true;
} else {