Socket buffer size fix (#1720)

This commit is contained in:
Sami Vänttinen
2018-04-03 05:13:07 +03:00
committed by Jonathan White
parent 0650b3084e
commit 3a92e4aab9
5 changed files with 24 additions and 5 deletions

View File

@@ -32,6 +32,13 @@
#include <iostream>
#include <unistd.h>
#ifndef Q_OS_WIN
#include <sys/types.h>
#include <sys/socket.h>
#endif
static const int NATIVE_MSG_MAX_LENGTH = 1024*1024;
class NativeMessagingBase : public QObject
{
Q_OBJECT