From 77e9a8bb42285c118a8a0d51fa166d838cc9f473 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 20 Dec 2013 20:23:03 -0800 Subject: Switching off_t to off64_t. --- src/HttpServer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/HttpServer.cc') 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 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; -- cgit v1.2.3