forked from I2P_Developers/i2p.i2p
Fix for InternalSockets
This commit is contained in:
@@ -425,7 +425,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn
|
||||
// Do not set keepalive for internal sockets.
|
||||
boolean keepalive = !(s instanceof InternalSocket);
|
||||
// indent -------------------------------------------------------------
|
||||
while (keepalive) {
|
||||
do {
|
||||
// indent -------------------------------------------------------------
|
||||
if (requestCount > 0) {
|
||||
if (_log.shouldInfo())
|
||||
@@ -1485,7 +1485,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn
|
||||
// go around again
|
||||
requestCount++;
|
||||
// indent -------------------------------------------------------------
|
||||
} // while (keepalive)
|
||||
} while (keepalive);
|
||||
// indent -------------------------------------------------------------
|
||||
} catch(IOException ex) {
|
||||
// This is normal for keepalive when the browser closed the socket,
|
||||
|
||||
Reference in New Issue
Block a user