diff Core/HttpServer/FilesystemHttpHandler.h @ 3414:b9cba6a91780

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Jun 2019 19:44:10 +0200
parents 962e5f00744b
children 94f4a18a79cc
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpHandler.h	Tue Jun 11 14:02:57 2019 +0200
+++ b/Core/HttpServer/FilesystemHttpHandler.h	Tue Jun 11 19:44:10 2019 +0200
@@ -53,14 +53,15 @@
     FilesystemHttpHandler(const std::string& baseUri,
                           const std::string& root);
 
-    virtual IStream* CreateStreamHandler(RequestOrigin origin,
-                                         const char* remoteIp,
-                                         const char* username,
-                                         HttpMethod method,
-                                         const UriComponents& uri,
-                                         const Arguments& headers)
+    virtual bool CreateChunkedRequestReader(std::auto_ptr<IChunkedRequestReader>& target,
+                                            RequestOrigin origin,
+                                            const char* remoteIp,
+                                            const char* username,
+                                            HttpMethod method,
+                                            const UriComponents& uri,
+                                            const Arguments& headers)
     {
-      return NULL;
+      return false;
     }
 
     virtual bool Handle(