summaryrefslogtreecommitdiff
path: root/src/HttpServerCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-01-25 10:55:27 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-01-25 10:55:27 +0000
commit5def96906fd17d9b48e9fda192617c6ad1b95683 (patch)
tree7907dd734fbaa2a43636c2a7fea342bb5ef773e5 /src/HttpServerCommand.h
parent0742e3921f185613f98c2b31cd03182d8aa1d6f5 (diff)
2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Persist connection between the built-in HTTP server and a client if a client supports keep-alive. Fixed the bug that aria2 exits when the HTTP server receives EOF from a client. * src/HttpServer.cc * src/HttpServer.h * src/HttpServerCommand.cc * src/HttpServerCommand.h * src/HttpServerResponseCommand.cc
Diffstat (limited to 'src/HttpServerCommand.h')
-rw-r--r--src/HttpServerCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/HttpServerCommand.h b/src/HttpServerCommand.h
index cfb42168..f126ab3f 100644
--- a/src/HttpServerCommand.h
+++ b/src/HttpServerCommand.h
@@ -55,6 +55,11 @@ public:
HttpServerCommand(int32_t cuid, DownloadEngine* e,
const SharedHandle<SocketCore>& socket);
+ HttpServerCommand(int32_t cuid,
+ const SharedHandle<HttpServer>& httpServer,
+ DownloadEngine* e,
+ const SharedHandle<SocketCore>& socket);
+
virtual ~HttpServerCommand();
virtual bool execute();