diff --git a/lib/d/src/thrift/server/simple.d b/lib/d/src/thrift/server/simple.d index f7183a751..5aba4c169 100644 --- a/lib/d/src/thrift/server/simple.d +++ b/lib/d/src/thrift/server/simple.d @@ -140,7 +140,9 @@ class TSimpleServer : TServer { } } } catch (TTransportException ttx) { - logError("Client died: %s", ttx); + if (ttx.type() != TTransportException.Type.END_OF_FILE) { + logError("Client died unexpectedly: %s", ttx); + } } catch (Exception e) { logError("Uncaught exception: %s", e); } diff --git a/lib/d/src/thrift/server/taskpool.d b/lib/d/src/thrift/server/taskpool.d index b4720a48e..670e720fc 100644 --- a/lib/d/src/thrift/server/taskpool.d +++ b/lib/d/src/thrift/server/taskpool.d @@ -268,7 +268,9 @@ protected: } } } catch (TTransportException ttx) { - logError("Client died: %s", ttx); + if (ttx.type() != TTransportException.Type.END_OF_FILE) { + logError("Client died unexpectedly: %s", ttx); + } } catch (Exception e) { logError("Uncaught exception: %s", e); } diff --git a/lib/d/src/thrift/server/threaded.d b/lib/d/src/thrift/server/threaded.d index 1cde983a4..300cc8457 100644 --- a/lib/d/src/thrift/server/threaded.d +++ b/lib/d/src/thrift/server/threaded.d @@ -173,7 +173,9 @@ private class WorkerThread : Thread { } } } catch (TTransportException ttx) { - logError("Client died: %s", ttx); + if (ttx.type() != TTransportException.Type.END_OF_FILE) { + logError("Client died unexpectedly: %s", ttx); + } } catch (Exception e) { logError("Uncaught exception: %s", e); } diff --git a/test/known_failures_Linux.json b/test/known_failures_Linux.json index 6958ff536..6b8aadc8b 100644 --- a/test/known_failures_Linux.json +++ b/test/known_failures_Linux.json @@ -133,8 +133,6 @@ "d-java_json_http-ip", "d-java_json_http-ip-ssl", "d-js_json_http-ip", - "d-lua_json_buffered-ip", - "d-lua_json_framed-ip", "d-nodejs_binary_buffered-ip", "d-nodejs_binary_buffered-ip-ssl", "d-nodejs_binary_framed-ip",