这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@emersion
Copy link
Owner

@emersion emersion commented Mar 11, 2023

  • Hangs when a parse error happens in a FETCH (FetchCommand channel not closed)
  • Recover from panics in decoder goroutine
  • Figure out a better design for FetchItemDataSection
  • Figure out a better design for unilateral responses getting mixed up in regular responses
  • Add a way to test a connection's liveness (v1's LoggedOut channel)
  • Timeouts
  • Retrofit IMAP4rev1 support
  • Expose current state, capabilities, and selected mailbox data
  • Validate flags/mailbox/etc before encoding
  • Consider adding separate types for FetchItemData{Body,Binary}Section.Section
  • Parse and expose COPYUID in response to MOVE command
  • Add support for LITERAL-
  • Add IMAP4rev1 fallbacks for IDLE and MOVE
  • Add support for NAMESPACE
  • Add support for ESEARCH and SEARCH-RES

emersion added 30 commits March 11, 2023 15:52
We need to register the command before endCommand: literals are
sent before the command's final CRLF. When the server refuses a
literal, it fails the whole command.
This makes it way clearer who's responsible for ending the command.
@emersion emersion added this to the v2 milestone Mar 17, 2023
@emersion
Copy link
Owner Author

Alright, I think this is a good starting point. Let's merge this and continue the work on the v2 branch.

@emersion emersion marked this pull request as ready for review March 17, 2023 12:24
@emersion emersion merged commit 79453e9 into v2 Mar 17, 2023
@emersion emersion deleted the v2-wip branch March 17, 2023 12:24
@emersion emersion mentioned this pull request Mar 17, 2023
27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants