diff options
author | Runxi Yu <me@runxiyu.org> | 2025-01-12 13:40:11 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-01-12 13:40:11 +0800 |
commit | 3fec571183461c91a52a64f008cb0dacd194443d (patch) | |
tree | 16bd9325d2e24546f138b12ccce0940cb4a935a1 /main.go | |
parent | Use bufio.ReadWriter (diff) | |
download | maild-3fec571183461c91a52a64f008cb0dacd194443d.tar.gz maild-3fec571183461c91a52a64f008cb0dacd194443d.tar.zst maild-3fec571183461c91a52a64f008cb0dacd194443d.zip |
Add incoming STARTTLS support
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ func main() { } go func() { - err := handle_incoming_server_connection(bufio.NewReadWriter(bufio.NewReader(conn), bufio.NewWriter(conn))) + err := handle_incoming_server_connection(bufio.NewReadWriter(bufio.NewReader(conn), bufio.NewWriter(conn)), &conn) if err != nil && !errors.Is(err, io.EOF) { clog.Error("connection handler returned error", "err", err) } |