Commit c35bff4d authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

Proxy service should be able to restart dynamically now

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4072 b35dd754-fafc-0310-a699-88a17e54d16e
parent 836bf64f
...@@ -73,9 +73,11 @@ public class ProxyConnectionManager { ...@@ -73,9 +73,11 @@ public class ProxyConnectionManager {
* This is the main loop of the manager which will run until the process is canceled. * This is the main loop of the manager which will run until the process is canceled.
*/ */
synchronized void processConnections(final InetAddress bindInterface, final int port) { synchronized void processConnections(final InetAddress bindInterface, final int port) {
if (port == proxyPort) { if (socketProcess != null) {
if(proxyPort == port) {
return; return;
} }
}
reset(); reset();
socketProcess = executor.submit(new Runnable() { socketProcess = executor.submit(new Runnable() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment