mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
add log
This commit is contained in:
@@ -87,7 +87,8 @@ class HttpProxyChannelHandler extends ChannelHandler<HttpRequest> {
|
||||
|
||||
//实现抓包代理转发
|
||||
if (httpRequest.method != HttpMethod.connect) {
|
||||
log.d("[${channel.id}] ${httpRequest.protocolVersion} ${httpRequest.method.name} ${httpRequest.requestUrl}");
|
||||
log.d(
|
||||
"[${channel.id}] streamId:${httpRequest.streamId} ${httpRequest.protocolVersion} ${httpRequest.method.name} ${httpRequest.requestUrl}");
|
||||
if (HostFilter.filter(httpRequest.hostAndPort?.host)) {
|
||||
await remoteChannel.write(channelContext, httpRequest);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user