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: [email protected]
For additional commands, e-mail: [email protected]