| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 834b19f commit 9d6d6bb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,7 @@ | |||
| 19 | 19 | import io.netty.channel.unix.DomainSocketAddress; | |
| 20 | 20 | import io.netty.channel.unix.UnixChannel; | |
| 21 | 21 | import io.netty.handler.codec.http.HttpClientCodec; | |
| 22 | + import io.netty.handler.codec.http.HttpContentDecompressor; | ||
| 22 | 23 | import io.netty.handler.ssl.SslHandler; | |
| 23 | 24 | import io.netty.handler.timeout.IdleState; | |
| 24 | 25 | import io.netty.handler.timeout.IdleStateEvent; | |
@@ -135,6 +136,7 @@ public EventLoopGroup epollGroup() { | |||
| 135 | 136 | @Override | |
| 136 | 137 | protected void initChannel(final UnixChannel channel) throws Exception { | |
| 137 | 138 | channel.pipeline().addLast(new HttpClientCodec()); | |
| 139 | + channel.pipeline().addLast(new HttpContentDecompressor()); | ||
| 138 | 140 | } | |
| 139 | 141 | }); | |
| 140 | 142 | return epollEventLoopGroup; | |
@@ -148,6 +150,7 @@ public EventLoopGroup kqueueGroup() { | |||
| 148 | 150 | @Override | |
| 149 | 151 | protected void initChannel(final KQueueDomainSocketChannel channel) throws Exception { | |
| 150 | 152 | channel.pipeline().addLast(new HttpClientCodec()); | |
| 153 | + channel.pipeline().addLast(new HttpContentDecompressor()); | ||
| 151 | 154 | } | |
| 152 | 155 | }); | |
| 153 | 156 | ||
@@ -175,6 +178,7 @@ public EventLoopGroup init(Bootstrap bootstrap, final DockerClientConfig dockerC | |||
| 175 | 178 | @Override | |
| 176 | 179 | protected void initChannel(final SocketChannel channel) throws Exception { | |
| 177 | 180 | channel.pipeline().addLast(new HttpClientCodec()); | |
| 181 | + channel.pipeline().addLast(new HttpContentDecompressor()); | ||
| 178 | 182 | } | |
| 179 | 183 | }); | |
| 180 | 184 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments