Skip to content

Commit ca54f9c

Browse files
authored
fix: request msg leak (#242)
1 parent 37bc807 commit ca54f9c

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Proxyee is a JAVA written HTTP proxy server library that supports HTTP, HTTPS, W
2525
<dependency>
2626
<groupId>com.github.monkeywie</groupId>
2727
<artifactId>proxyee</artifactId>
28-
<version>1.7.1</version>
28+
<version>1.7.2</version>
2929
</dependency>
3030
```
3131

README_zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Proxyee 是一个 JAVA 编写的 HTTP 代理服务器类库,支持 HTTP、HTTP
2525
<dependency>
2626
<groupId>com.github.monkeywie</groupId>
2727
<artifactId>proxyee</artifactId>
28-
<version>1.7.1</version>
28+
<version>1.7.2</version>
2929
</dependency>
3030
```
3131

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.github.monkeywie</groupId>
77
<artifactId>proxyee</artifactId>
8-
<version>1.7.1</version>
8+
<version>1.7.2</version>
99

1010
<packaging>jar</packaging>
1111

src/main/java/com/github/monkeywie/proxyee/handler/HttpProxyServerHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public void channelRead(final ChannelHandlerContext ctx, final Object msg) throw
185185
request.setUri(url.getFile());
186186
}
187187
getInterceptPipeline().beforeRequest(ctx.channel(), request);
188+
ReferenceCountUtil.release(msg);
188189
} else if (msg instanceof HttpContent) {
189190
if (getStatus() != 2) {
190191
getInterceptPipeline().beforeRequest(ctx.channel(), (HttpContent) msg);

0 commit comments

Comments
 (0)