Skip to content

Commit

Permalink
修复版本升级问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hexiaofeng committed Dec 8, 2022
1 parent 2567550 commit ff7bbce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected void channelRead0(final ChannelHandlerContext ctx, final Object msg) t
RequestContext context = RequestContext.getContext();
context.setRemoteAddress(getRemoteAddress(request.getHttpHeaders(), ctx.channel()));
context.setLocalAddress((InetSocketAddress) ctx.channel().localAddress());
dispatcher.service(request, response, true);
dispatcher.service(ctx, request, response, true);
} catch (Failure e) {
response.reset();
response.setStatus(e.getErrorCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public void build(ChannelPipeline pipeline, Codec codec, ChannelChain chain, Cha
pipeline.addLast(RESTEASY_HTTP_DECODER, new RestEasyHttpRequestDecoder(dispatcher.getDispatcher(), root, RestEasyHttpRequestDecoder.Protocol.HTTP));
pipeline.addLast(RESTEASY_HTTP_DISPATCHER, new RestEasyDispatcher(dispatcher));
pipeline.addLast(ENCODER, new HttpResponseEncoder());
pipeline.addLast(RESTEASY_HTTP_ENCODER, new RestEasyHttpResponseEncoder(dispatcher));
pipeline.addLast(RESTEASY_HTTP_ENCODER, new RestEasyHttpResponseEncoder());
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<javax.el.version>3.0.1-b11</javax.el.version>
<jmh.version>1.26</jmh.version>
<guava.version>30.0-jre</guava.version>
<jackson.version>2.12.7.1</jackson.version>
<jackson.version>2.12.7</jackson.version>
<fastjson.version>1.2.83</fastjson.version>
<javassist.version>3.27.0-GA</javassist.version>
<commons-compress.version>1.21</commons-compress.version>
Expand Down

0 comments on commit ff7bbce

Please sign in to comment.