mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-15 02:12:55 +01:00
Winni Neessen
6bd9a9c735
This commit revises locking mechanism usage around connection operations to avoid potential deadlocks and improve code clarity. Specifically, defer statements were removed and explicit unlocks were added to ensure that mutexes are properly released after critical sections. This change affects several methods, including `Close`, `cmd`, `TLSConnectionState`, `UpdateDeadline`, and newly introduced locking for concurrent data writes and reads in `dataCloser`. |
||
---|---|---|
.. | ||
auth.go | ||
auth_cram_md5.go | ||
auth_cram_md5_118.go | ||
auth_login.go | ||
auth_plain.go | ||
auth_xoauth2.go | ||
example_test.go | ||
LICENSE | ||
smtp.go | ||
smtp_ehlo.go | ||
smtp_ehlo_117.go | ||
smtp_test.go |