myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [SCM] GNU MyServer branch, master, updated. 32842ad70f


From: Giuseppe Scrivano
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. 32842ad70fd29c33fdc3ebbeb49e5bf336d79a4d
Date: Wed, 07 Oct 2009 22:11:16 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  32842ad70fd29c33fdc3ebbeb49e5bf336d79a4d (commit)
      from  f75a73dfa95dd372204bd440b75f74af0143bbd1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit 32842ad70fd29c33fdc3ebbeb49e5bf336d79a4d
Author: Giuseppe Scrivano <address@hidden>
Date:   Thu Oct 8 00:10:03 2009 +0200

    Remove unused members from the `ClientsThread' class

diff --git a/myserver/include/server/clients_thread.h 
b/myserver/include/server/clients_thread.h
index 6b009ff..282e348 100644
--- a/myserver/include/server/clients_thread.h
+++ b/myserver/include/server/clients_thread.h
@@ -23,10 +23,6 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 # include <include/connection/connection.h>
 # include <include/base/mem_buff/mem_buff.h>
 
-class FtpProtocol;
-class HttpProtocol;
-class HttpsProtocol;
-class ControlProtocol;
 class Server;
 
 class  ClientsThread
@@ -89,10 +85,6 @@ private:
   u_long secondaryBufferSize;
   bool isRunning ();
   bool isStopped ();
-  FtpProtocol *ftpParser;
-  HttpProtocol* httpParser;
-  HttpsProtocol* httpsParser;
-  ControlProtocol  *controlProtocolParser;
   MemBuf buffer;
   MemBuf secondaryBuffer;
   int controlConnections ();
diff --git a/myserver/src/server/clients_thread.cpp 
b/myserver/src/server/clients_thread.cpp
index 6a7d288..3c4c68b 100644
--- a/myserver/src/server/clients_thread.cpp
+++ b/myserver/src/server/clients_thread.cpp
@@ -58,11 +58,6 @@ ClientsThread::ClientsThread (Server* server)
   toDestroy = false;
   staticThread = 0;
   nBytesToRead = 0;
-
-  httpParser = NULL;
-  httpsParser = NULL;
-  controlProtocolParser = NULL;
-  ftpParser = NULL;
 }
 
 /*!
@@ -75,18 +70,6 @@ ClientsThread::~ClientsThread ()
 
   threadIsRunning = false;
 
-  if (httpParser)
-    delete httpParser;
-
-  if (httpsParser)
-    delete httpsParser;
-
-  if (controlProtocolParser)
-    delete controlProtocolParser;
-
-  if (ftpParser)
-    delete ftpParser;
-
   buffer.free ();
   secondaryBuffer.free ();
 }

-----------------------------------------------------------------------

Summary of changes:
 myserver/include/server/clients_thread.h |    8 --------
 myserver/src/server/clients_thread.cpp   |   17 -----------------
 2 files changed, 0 insertions(+), 25 deletions(-)


hooks/post-receive
-- 
GNU MyServer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]