From 918defcaea2b570a927a2884ce0e720b03e32d8a Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Thu, 1 Dec 2011 03:11:09 +0200 Subject: FIX file transfer; FIX packet parsing bug; + many various fixes and improvements --- client/SslClient.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/SslClient.h') 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
- * Reply data is split into 4k parts and sent one by one + * Reply data is split into 4k packets and sent one by one
+ * (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; }; -- cgit v1.2.3