quantranhong1999 commented on code in PR #2839:
URL: https://github.com/apache/james-project/pull/2839#discussion_r2458481353
##########
server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPCommandsThrottler.java:
##########
@@ -111,7 +111,7 @@ public void channelRead(ChannelHandlerContext ctx, Object
msg) {
}
private static void throttle(ChannelHandlerContext ctx, Object msg,
ImapRequest imapRequest, ThrottlerConfigurationEntry configurationEntry) {
- ImapSession session = (ImapSession)
ctx.channel().attr(IMAP_SESSION_ATTRIBUTE_KEY);
+ ImapSession session = (ImapSession)
ctx.channel().attr(IMAP_SESSION_ATTRIBUTE_KEY).get();
Review Comment:
see https://github.com/apache/james-project/pull/2838/files
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]