[tor-commits] [orbot/master] handle all exceptions in socks proxy

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Apr 3 17:04:06 UTC 2015


commit f2490d9032cfe9a29b0f766d1d9f8b5b28e1a285
Author: Nathan Freitas <nathan at freitas.net>
Date:   Mon Feb 23 12:29:55 2015 -0500

    handle all exceptions in socks proxy
---
 src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java b/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java
index 2da1760..6e6a6aa 100644
--- a/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java
+++ b/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java
@@ -189,7 +189,7 @@ public class ProxyServer implements Runnable {
 				final ProxyServer ps = new ProxyServer(auth, s);
 				(new Thread(ps)).start();
 			}
-		} catch (final IOException ioe) {
+		} catch (final Exception ioe) {
 			ioe.printStackTrace();
 		} finally {
 		}





More information about the tor-commits mailing list