upgrade to reactor-netty 0.6.1
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user