[ https://issues.apache.org/jira/browse/JAMES-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3811. --------------------------------- Resolution: Fixed https://github.com/apache/james-project/pull/1267 > Ability to cancel IMAP request execution > ---------------------------------------- > > Key: JAMES-3811 > URL: https://issues.apache.org/jira/browse/JAMES-3811 > Project: James Server > Issue Type: Improvement > Components: IMAPServer > Affects Versions: master > Reporter: Benoit Tellier > Priority: Major > Fix For: 3.8.0 > > Time Spent: 20m > Remaining Estimate: 0h > > For now ImapChannelUpstreamHandler never cancels the execution of IMAP > requests it schedules. > For instance big `FETCH 1:* BODYSTRUCTURE` timing out, with clients closing > the connection, should not be processed any longer as they take valuable > compute resources away from the rest of the IMAP traffic. > However in some cases we know we could stop handling a given IMAP request: > when the connection is close/inactive. > We could keep track of pending computations at the channel level so that we > could stop those computations when beneficial. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org