I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 674ad899 authored by human's avatar human Committed by zzz
Browse files

Made HTTPTunnel aware of the new exceptions thrown by

I2PSocketManager.connect()
(human)
parent d945eb6f
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.SocketException;
import net.i2p.I2PException;
import net.i2p.client.naming.NamingService;
......@@ -94,9 +95,15 @@ public class EepHandler {
written = true;
out.write(filtered);
out.flush();
} catch (SocketException ex) {
_log.error("Error while handling eepsite request");
return written;
} catch (IOException ex) {
_log.error("Error while handling eepsite request");
return written;
} catch (InterruptedException ex) {
_log.error("Error while handling eepsite request");
return written;
} catch (I2PException ex) {
_log.error("Error while handling eepsite request");
return written;
......@@ -105,4 +112,4 @@ public class EepHandler {
}
return true;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment