1
0
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:
stewart@mysql.com[stewart]
2007-03-22 22:35:55 +11:00
parent 2d11a87978
commit 75cff8cd26
3 changed files with 10 additions and 20 deletions

View File

@@ -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; };