summaryrefslogtreecommitdiff
path: root/src/HttpServer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpServer.cc')
-rw-r--r--src/HttpServer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc
index 3abf776..4a3e086 100644
--- a/src/HttpServer.cc
+++ b/src/HttpServer.cc
@@ -225,7 +225,7 @@ void Balau::HttpWorker::sendError(int error, const char * msg, const char * deta
} else {
IO<Buffer> errorText(new Buffer);
tpl->render(errorText, &ctx);
- off_t length = errorText->getSize();
+ off64_t length = errorText->getSize();
String headers;
headers.set(
"HTTP/1.1 %i %s\r\n"
@@ -272,6 +272,7 @@ bool Balau::HttpWorker::handleClient() {
yield();
continue;
}
+ Printer::log(M_DEBUG, "HTTPIN: %s", line.to_charp());
// until we get a blank line
if (line == "")
break;