upgrade to reactor-netty 0.6.1

This commit is contained in:
Spencer Gibb
2017-01-31 19:16:29 -07:00
parent 1d626f9452
commit a9ce9e061c
2 changed files with 2 additions and 1 deletions

View File

@@ -44,6 +44,7 @@
<dependency> <dependency>
<groupId>io.projectreactor.ipc</groupId> <groupId>io.projectreactor.ipc</groupId>
<artifactId>reactor-netty</artifactId> <artifactId>reactor-netty</artifactId>
<version>0.6.1.BUILD-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>

View File

@@ -63,7 +63,7 @@ public class GatewayAutoConfiguration {
public HttpClient httpClient() { public HttpClient httpClient() {
return HttpClient.create(opts -> { return HttpClient.create(opts -> {
//opts.poolResources(PoolResources.elastic("proxy")); //opts.poolResources(PoolResources.elastic("proxy"));
opts.disablePool(); //TODO: without we get io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: DefaultHttpRequest in tests //opts.disablePool(); //TODO: without we get io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: DefaultHttpRequest in tests
}); });
} }