904ffacb0e
Previously, Message.NewReader returned the wrapped buffered reader without a reference to the opened file, so the files descriptors were left unclosed after reading. Now, the file reader is returned directly and closed on the call site. Buffering is not needed here because it is an implementation detail of go-message. Fixes: https://todo.sr.ht/~rjarry/aerc/9 |
||
---|---|---|
.. | ||
testdata/message/invalid | ||
parse.go | ||
parse_test.go | ||
sort.go |