Clear the address cache entry when a connection fails
Should help solve the issues caused by mojang swapping the ip address of the session server.
This commit is contained in:
parent
40c0618a3a
commit
a0f2c42d38
@ -86,6 +86,7 @@ public class HttpClient
|
|||||||
future.channel().writeAndFlush( request );
|
future.channel().writeAndFlush( request );
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
addressCache.invalidate( uri.getHost() );
|
||||||
callback.done( null, future.cause() );
|
callback.done( null, future.cause() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user