MCPcopy Create free account
hub / github.com/foxcpp/maddy / cleanSession

Method cleanSession

internal/endpoint/smtp/session.go:149–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147}
148
149func (s *Session) cleanSession() {
150 s.releaseLimits()
151
152 s.mailFrom = ""
153 s.opts = smtp.MailOptions{}
154 s.msgMeta = nil
155 s.delivery = nil
156 s.deliveryErr = nil
157 s.msgCtx = nil
158 s.msgTask.End()
159}
160
161func (s *Session) AuthPlain(username, password string) error {
162 // Executed before authentication and session initialization.

Callers 3

abortMethod · 0.95
DataMethod · 0.95
LMTPDataMethod · 0.95

Calls 1

releaseLimitsMethod · 0.95

Tested by

no test coverage detected