mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
[PATCH] WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts
Index: ndb-work/storage/ndb/include/util/InputStream.hpp ===================================================================
This commit is contained in:
@@ -53,7 +53,7 @@ class SocketInputStream : public InputStream {
|
||||
bool m_startover;
|
||||
bool m_timedout;
|
||||
public:
|
||||
SocketInputStream(NDB_SOCKET_TYPE socket, unsigned read_timeout_ms = 1000);
|
||||
SocketInputStream(NDB_SOCKET_TYPE socket, unsigned read_timeout_ms = 60000);
|
||||
virtual ~SocketInputStream() {}
|
||||
char* gets(char * buf, int bufLen);
|
||||
bool timedout() { return m_timedout; };
|
||||
|
Reference in New Issue
Block a user