You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we detect an APPEND command? We can't decode the full command because we didn't receive all bytes yet.
Maybe the imap-codec crate could add another method to Fragmentizer for that, similar to Fragmentizer::decode_tag. I would prefer to leave any byte parsing to the imap-codec crate.
I'm not sure anymore if we want to have this distinction. Maybe max_message_size is all we need, actually... APPEND is special, but... Let's talk again soon.
Currently
ServerFlowOptions::max_literal_size
is applied to all literals. However, this might not reflect how it will be used in practice:Idea:
max_literal_size
tomax_append_literal_size
and use it only for APPEND literalsmax_command_size
(introduced in feat: Implement read limit #153) should not apply to APPEND commandsThe text was updated successfully, but these errors were encountered: