From 8c413fbd23bfdcd239434e5b6a9718f401b531f3 Mon Sep 17 00:00:00 2001 From: eidheim Date: Fri, 11 Jul 2014 13:41:59 +0200 Subject: [PATCH] added comment --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 8097d8c..187305f 100644 --- a/main.cpp +++ b/main.cpp @@ -107,6 +107,7 @@ int main() { ifs.seekg(0, ios::beg); + //The file-content is copied to the response-stream. Should not be used for very large files. response << "HTTP/1.1 200 OK\r\nContent-Length: " << length << "\r\n\r\n" << ifs.rdbuf(); ifs.close();