summaryrefslogtreecommitdiff
path: root/client/SslClient.h
diff options
context:
space:
mode:
authorAlex Borisov <borisov.alexandr@rambler.ru>2011-12-01 03:11:09 +0200
committerAlex Borisov <borisov.alexandr@rambler.ru>2011-12-01 03:11:09 +0200
commit918defcaea2b570a927a2884ce0e720b03e32d8a (patch)
tree5c05b21f2c565a3ccc0124edf3af175657205d04 /client/SslClient.h
parent70dc6021943eacded7c26f2ca66375f64f19d819 (diff)
FIX file transfer; FIX packet parsing bug; + many various fixes and improvements
Diffstat (limited to 'client/SslClient.h')
-rw-r--r--client/SslClient.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/SslClient.h b/client/SslClient.h
index 3c4976c..41f0952 100644
--- a/client/SslClient.h
+++ b/client/SslClient.h
@@ -82,7 +82,8 @@ public:
/**
* @brief Request file upload (the list of this files is obtained via RequestType::UploadList)
* @note Request should contain file path as specified in RequestType::UploadList<br/>
- * Reply data is split into 4k parts and sent one by one
+ * Reply data is split into 4k packets and sent one by one<br/>
+ * (4k packet is a Qt limitation; see qabstractsocket.cpp QAbstractSocketPrivate::readFromSocket())
*/
RegularFile = 0x12
};
@@ -148,7 +149,7 @@ protected:
QString server;
private:
- static QSslSocket sslSocket;
+ QSslSocket sslSocket;
unsigned short port;
};