We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ad71d commit 9e125b8Copy full SHA for 9e125b8
src/main/java/com/beowulfe/hap/impl/http/impl/AccessoryHandler.java
@@ -37,8 +37,15 @@ public void channelActive(ChannelHandlerContext ctx) throws Exception {
37
if (!channel.isActive()) { return; }
38
channel.writeAndFlush(NettyResponseUtil.createResponse(response));
39
});
40
+ LOGGER.info("New homekit connection from "+ctx.channel().remoteAddress().toString());
41
super.channelActive(ctx);
42
}
43
+
44
+ @Override
45
+ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
46
+ LOGGER.info("Terminated homekit connection from "+ctx.channel().remoteAddress().toString());
47
+ super.channelInactive(ctx);
48
+ }
49
50
@Override
51
public void channelRead0(ChannelHandlerContext ctx, FullHttpRequest req)
0 commit comments