Thrift PHP TSocketPool client
Summary: Client that connects to one of an arbitrary pool of servers
Reviewed By: aditya
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664795 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/src/server/TSimpleServer.java b/lib/java/src/server/TSimpleServer.java
index 76a5762..05156c3 100644
--- a/lib/java/src/server/TSimpleServer.java
+++ b/lib/java/src/server/TSimpleServer.java
@@ -35,8 +35,12 @@
io = transportFactory_.getIOTransports(client);
while (processor_.process(io[0], io[1]));
}
+ } catch (TTransportException ttx) {
+ // Client died, just move on
} catch (TException tx) {
tx.printStackTrace();
+ } catch (Exception x) {
+ x.printStackTrace();
}
if (io != null) {