You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2022/08/24 02:46:00 UTC
[jira] [Created] (JAMES-3811) Ability to cancel IMAP request execution
Benoit Tellier created JAMES-3811:
-------------------------------------
Summary: 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
Fix For: 3.8.0
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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org