You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/02/18 19:29:22 UTC

svn commit: r508931 - /webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java

Author: nadiramra
Date: Sun Feb 18 10:29:22 2007
New Revision: 508931

URL: http://svn.apache.org/viewvc?view=rev&rev=508931
Log:
If not reponses to return, issue message and close connection. 
The way it was it would force the client to hang until ant 
timed-out.

Modified:
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java?view=diff&rev=508931&r1=508930&r2=508931
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java Sun Feb 18 10:29:22 2007
@@ -235,6 +235,7 @@
         else
         {
             System.err.println("We've run out of responses to send back to the client");
+            close();
             throw new IOException("No more responses to send to clients");
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org