Commit graph

7 commits

Author SHA1 Message Date
Simon Ser
48d6d5d227
Add session lock
HTTP requests can be processed in parallel, but we only have one IMAP
connection per session.

Closes: https://todo.sr.ht/~sircmpwn/koushin/12
2019-12-03 17:18:17 +01:00
Simon Ser
89cebfd819
Add basic SMTP support 2019-12-03 16:27:49 +01:00
Simon Ser
702719c072
Save username/password in session
This is required for authenticating with the SMTP server when composing
a new message.
2019-12-03 15:44:24 +01:00
Simon Ser
4cbe2fde9d
go fmt 2019-12-03 11:12:26 +01:00
Simon Ser
594bb2ec19
Add synchronization to connection pool 2019-12-02 17:40:53 +01:00
Simon Ser
85f8530fd3
Evict connection pool entry on logout 2019-12-02 17:36:43 +01:00
Simon Ser
8b84d81f9b
Add initial login logic 2019-12-02 17:24:19 +01:00