]> Cypherpunks repositories - gostls13.git/commit
net/smtp: added Noop to Client
authorHenry <google@mindeco.de>
Wed, 18 Oct 2017 13:30:08 +0000 (15:30 +0200)
committerIan Lance Taylor <iant@golang.org>
Wed, 25 Oct 2017 20:13:18 +0000 (20:13 +0000)
commit8b8e57b709aa418d5a2f1b3a0f57543db3e1740a
tree265ff5647a09a0f3240dd63d74c6e6ff175e8a29
parenteed308de31e32a42012fd916d70cfed19280bbe7
net/smtp: added Noop to Client

This adds a Noop() function to the net/stmp client.

It allows for testing if a connaction is still healthy.

Fixes #22321

Change-Id: I023b613b1536ea21274cc36d41f5720c9bbdecbc
Reviewed-on: https://go-review.googlesource.com/71650
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/smtp/smtp.go
src/net/smtp/smtp_test.go