[GitHub] thrift issue #1497: Do not call workSocket() in TNonblockigServer without en...

2018-03-11 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1497 @jeking3 There is already a Jira item: https://issues.apache.org/jira/browse/THRIFT-4465 Btw, it makes sense that the fix resolves the framed transport failures. Because the bug was about

[GitHub] thrift issue #1497: Do not call workSocket() in TNonblockigServer without en...

2018-03-10 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1497 @jeking3 I think all tests have passed. ---

[GitHub] thrift pull request #1497: Do not call workSocket() in TNonblockigServer wit...

2018-03-06 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1497#discussion_r172754060 --- Diff: lib/cpp/src/thrift/server/TNonblockingServer.cpp --- @@ -472,6 +472,18 @@ void TNonblockingServer::TConnection::workSocket

[GitHub] thrift pull request #1497: Do not call workSocket() in TNonblockigServer wit...

2018-03-06 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1497#discussion_r172752961 --- Diff: lib/cpp/src/thrift/server/TNonblockingServer.cpp --- @@ -472,6 +472,18 @@ void TNonblockingServer::TConnection::workSocket

[GitHub] thrift issue #1497: Do not call workSocket() in TNonblockigServer without en...

2018-02-19 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1497 @jeking3 The ``client_pool_tests`` failed in 2 of the bots within Travis-CI. I don't think it is related to my change. Are these known to fail every now

[GitHub] thrift issue #1476: Remove premature call to workSocket() in TNonblockingSer...

2018-02-19 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1476 @jeking3 Here: https://github.com/apache/thrift/pull/1497 ---

[GitHub] thrift pull request #1497: Remove workSocket call that is too early

2018-02-19 Thread bgedik
GitHub user bgedik opened a pull request: https://github.com/apache/thrift/pull/1497 Remove workSocket call that is too early Make the work socket conditional Revert back the changes Only call workSocket() when there is pending data to read Minor update to a comment

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-02-19 Thread bgedik
GitHub user bgedik reopened a pull request: https://github.com/apache/thrift/pull/1476 Remove premature call to workSocket() in TNonblockingServer You can merge this pull request into a Git repository by running: $ git pull https://github.com/bgedik/thrift bugfix/non

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-02-19 Thread bgedik
Github user bgedik closed the pull request at: https://github.com/apache/thrift/pull/1476 ---

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-02-19 Thread bgedik
Github user bgedik closed the pull request at: https://github.com/apache/thrift/pull/1476 ---

[GitHub] thrift issue #1476: Remove premature call to workSocket() in TNonblockingSer...

2018-02-09 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1476 @jeking3 anything I can do to get this into a mergable state? ---

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-01-24 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1476#discussion_r163681677 --- Diff: lib/cpp/src/thrift/transport/TSSLSocket.h --- @@ -78,6 +78,7 @@ class TSSLSocket : public TSocket { bool peek(); void open

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-01-24 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1476#discussion_r163679874 --- Diff: lib/cpp/src/thrift/transport/TSSLSocket.cpp --- @@ -249,6 +249,17 @@ TSSLSocket::~TSSLSocket() { close(); } +bool TSSLSocket

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-01-24 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1476#discussion_r163673632 --- Diff: lib/cpp/src/thrift/transport/TSSLSocket.cpp --- @@ -249,6 +249,17 @@ TSSLSocket::~TSSLSocket() { close(); } +bool TSSLSocket

[GitHub] thrift issue #1476: Remove premature call to workSocket() in TNonblockingSer...

2018-01-24 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1476 Ok, reverted back. ---

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-01-24 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1476#discussion_r163651048 --- Diff: lib/cpp/src/thrift/transport/TSSLSocket.h --- @@ -78,6 +78,7 @@ class TSSLSocket : public TSocket { bool peek(); void open

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-01-24 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1476#discussion_r163640014 --- Diff: lib/cpp/src/thrift/transport/TSSLSocket.h --- @@ -78,6 +78,7 @@ class TSSLSocket : public TSocket { bool peek(); void open

[GitHub] thrift pull request #1476: Remove premature call to workSocket() in TNonbloc...

2018-01-23 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1476#discussion_r163420333 --- Diff: lib/cpp/src/thrift/transport/TSSLSocket.h --- @@ -78,6 +78,7 @@ class TSSLSocket : public TSocket { bool peek(); void open

[GitHub] thrift issue #1476: Remove premature call to workSocket() in TNonblockingSer...

2018-01-22 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1476 @jeking3 This is ready for review now. ---

[GitHub] thrift issue #1476: Remove premature call to workSocket() in TNonblockingSer...

2018-01-22 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1476 @jeking3 My latest fix worked fine, but failed to compile on windows. I'll rework to something that works for all platforms. ---

[GitHub] thrift issue #1476: Remove premature call to workSocket() in TNonblockingSer...

2018-01-21 Thread bgedik
Github user bgedik commented on the issue: https://github.com/apache/thrift/pull/1476 The following tests FAILED: 16 - concurrency_test (Timeout) 20 - TNonblockingSSLServerTest (Timeout) I think the failure in {{TNonblockingSSLServerTest}} could be related

[GitHub] thrift pull request #1196: THRIFT-3891 TNonblockingServer configured with mo...

2017-02-20 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1196#discussion_r102025490 --- Diff: lib/cpp/src/thrift/server/TNonblockingServer.cpp --- @@ -1566,24 +1562,26 @@ void TNonblockingIOThread::setCurrentThreadHighPriority(bool value

[GitHub] thrift pull request #1196: THRIFT-3891 TNonblockingServer configured with mo...

2017-02-20 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1196#discussion_r102023002 --- Diff: lib/cpp/src/thrift/server/TNonblockingServer.cpp --- @@ -1566,24 +1562,26 @@ void TNonblockingIOThread::setCurrentThreadHighPriority(bool value

[GitHub] thrift pull request #1080: THRIFT-3891 TNonblockingServer configured with mo...

2017-01-25 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1080#discussion_r97798270 --- Diff: lib/cpp/src/thrift/server/TNonblockingServer.cpp --- @@ -1524,7 +1532,7 @@ void TNonblockingIOThread::breakLoop(bool error

[GitHub] thrift pull request #1080: THRIFT-3891 TNonblockingServer configured with mo...

2017-01-24 Thread bgedik
Github user bgedik commented on a diff in the pull request: https://github.com/apache/thrift/pull/1080#discussion_r97712383 --- Diff: lib/cpp/src/thrift/server/TNonblockingServer.cpp --- @@ -1524,7 +1532,7 @@ void TNonblockingIOThread::breakLoop(bool error