mirror of
https://github.com/wneessen/go-mail.git
synced 2024-12-18 08:50:39 +01:00
Winni Neessen
fdb80ad9dd
This commit introduces a RWMutex to the Client struct in the smtp package to ensure thread-safe access to shared resources. Critical sections in methods like Close, StartTLS, and cmd are now protected with appropriate locking mechanisms. This change helps prevent potential race conditions, ensuring consistent and reliable behavior in concurrent environments. |
||
---|---|---|
.. | ||
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 |