go-mail/smtp
Winni Neessen fdb80ad9dd
Add mutex to Client for thread-safe operations
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.
2024-09-27 11:10:23 +02:00
..
auth.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
auth_cram_md5.go Refine function comments to include return type details 2024-01-10 11:05:34 +01:00
auth_cram_md5_118.go Refine function comments to include return type details 2024-01-10 11:05:34 +01:00
auth_login.go Support lowercase username and password challenge 2024-08-16 15:46:16 +08:00
auth_plain.go Refine function comments to include return type details 2024-01-10 11:05:34 +01:00
auth_xoauth2.go Refine function comments to include return type details 2024-01-10 11:05:34 +01:00
example_test.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
LICENSE Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
smtp.go Add mutex to Client for thread-safe operations 2024-09-27 11:10:23 +02:00
smtp_ehlo.go Add mutex to Client for thread-safe operations 2024-09-27 11:10:23 +02:00
smtp_ehlo_117.go Add mutex to Client for thread-safe operations 2024-09-27 11:10:23 +02:00
smtp_test.go Sync with upstream 2024-05-24 18:50:27 +02:00