[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit f2490d9032cfe9a29b0f766d1d9f8b5b28e1a285
Author: Nathan Freitas <nathan@xxxxxxxxxxx>
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 {
 		}



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits