summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/vdrmanagerthread.cpp
diff options
context:
space:
mode:
authorbju <bju@maxi.fritz.box>2013-03-24 04:14:45 +0100
committerbju <bju@maxi.fritz.box>2013-03-24 23:44:04 +0100
commit3cc7911fedcbea2337237a04658495b369c73d35 (patch)
treeb2671551f65d6b2c02cad2ee0bb072fac45f0ff4 /vdr-vdrmanager/vdrmanagerthread.cpp
parentdbf28d356eb97b3075229bbc42a8a3ccf1c94ec0 (diff)
downloadvdr-manager-3cc7911fedcbea2337237a04658495b369c73d35.tar.gz
vdr-manager-3cc7911fedcbea2337237a04658495b369c73d35.tar.bz2
the answer traffic is now compressed if enabled on the server using zip or gzipcompression
Diffstat (limited to 'vdr-vdrmanager/vdrmanagerthread.cpp')
-rw-r--r--vdr-vdrmanager/vdrmanagerthread.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/vdr-vdrmanager/vdrmanagerthread.cpp b/vdr-vdrmanager/vdrmanagerthread.cpp
index 2a4ca64..51301e5 100644
--- a/vdr-vdrmanager/vdrmanagerthread.cpp
+++ b/vdr-vdrmanager/vdrmanagerthread.cpp
@@ -8,12 +8,13 @@
#include "select.h"
#include "helpers.h"
-cVdrManagerThread::cVdrManagerThread(int port, const char * password, bool forceCheckSvdrp)
+cVdrManagerThread::cVdrManagerThread(int port, const char * password, bool forceCheckSvdrp, int compressionMode)
{
select = NULL;
this -> port = port;
this -> password = password;
this -> forceCheckSvdrp = forceCheckSvdrp;
+ this -> compressionMode = compressionMode;
}
cVdrManagerThread::~cVdrManagerThread()
@@ -43,7 +44,7 @@ bool cVdrManagerThread::Init()
// create server socket
cVdrmanagerServerSocket * sock = new cVdrmanagerServerSocket();
- if (sock == NULL || !sock->Create(port, password, forceCheckSvdrp))
+ if (sock == NULL || !sock->Create(port, password, forceCheckSvdrp, compressionMode))
return false;
// register server socket