From 5def96906fd17d9b48e9fda192617c6ad1b95683 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 25 Jan 2009 10:55:27 +0000 Subject: 2009-01-25 Tatsuhiro Tsujikawa 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 --- src/HttpServerCommand.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/HttpServerCommand.h') 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& socket); + HttpServerCommand(int32_t cuid, + const SharedHandle& httpServer, + DownloadEngine* e, + const SharedHandle& socket); + virtual ~HttpServerCommand(); virtual bool execute(); -- cgit