Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(238)

Issue 10082044: code review 10082044: net/smtp: close conn in SendMail; add Client.Close method (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by toalexjin
Modified:
12 years ago
Reviewers:
bradfitz
CC:
rsc, dave_cheney.net, bradfitz, golang-dev
Visibility:
Public.

Description

net/smtp: close conn in SendMail; add Client.Close method

Patch Set 1 : diff -r 4aa7943034c5 https://code.google.com/p/go #

Patch Set 2 : diff -r 3378d2483995 https://code.google.com/p/go #

Total comments: 1

Patch Set 3 : diff -r 2879112bff3d https://code.google.com/p/go #

Patch Set 4 : diff -r 2879112bff3d https://code.google.com/p/go #

Total comments: 2

Patch Set 5 : diff -r 2879112bff3d https://code.google.com/p/go #

Patch Set 6 : diff -r 2879112bff3d https://code.google.com/p/go #

Total comments: 2

Patch Set 7 : diff -r 2879112bff3d https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M src/pkg/net/smtp/smtp.go View 1 2 3 4 5 6 3 chunks +9 lines, -2 lines 0 comments Download
M src/pkg/net/smtp/smtp_test.go View 1 2 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15
toalexjin
I am new to Go language development. Please help to review my first checkin, thanks ...
12 years, 1 month ago (2013-06-07 14:40:52 UTC) #1
toalexjin
12 years, 1 month ago (2013-06-07 14:59:10 UTC) #2
rsc
Please run 'hg mail 10082044' to start a review.
12 years, 1 month ago (2013-06-10 20:38:21 UTC) #3
rsc
Also please complete a CLA as described at golang.org/doc/contribute.html#copyright
12 years, 1 month ago (2013-06-10 20:38:47 UTC) #4
toalexjin
Hello rsc@golang.org, golang-dev@googlegroups.com, dave@cheney.net (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years ago (2013-06-13 02:21:45 UTC) #5
toalexjin
rsc, Thanks for your feedback. Based on your instructions, I signed Individual Contributor License Agreement ...
12 years ago (2013-06-13 02:28:04 UTC) #6
bradfitz
https://codereview.appspot.com/10082044/diff/10001/src/pkg/net/smtp/smtp.go File src/pkg/net/smtp/smtp.go (right): https://codereview.appspot.com/10082044/diff/10001/src/pkg/net/smtp/smtp.go#newcode268 src/pkg/net/smtp/smtp.go:268: c, err := NewClient(conn, addr[:strings.Index(addr, ":")]) This doesn't work ...
12 years ago (2013-06-14 18:02:11 UTC) #7
toalexjin
Hello rsc@golang.org, dave@cheney.net, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2013-06-15 16:20:41 UTC) #8
bradfitz
https://codereview.appspot.com/10082044/diff/20001/src/pkg/net/smtp/smtp.go File src/pkg/net/smtp/smtp.go (right): https://codereview.appspot.com/10082044/diff/20001/src/pkg/net/smtp/smtp.go#newcode43 src/pkg/net/smtp/smtp.go:43: // Dial returns a new Client connected to an ...
12 years ago (2013-06-17 14:50:54 UTC) #9
toalexjin
Hello rsc@golang.org, dave@cheney.net, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2013-06-17 16:47:19 UTC) #10
bradfitz
Update the CL to be more succinct: net/smtp: close conn in SendMail; add Client.Close method ...
12 years ago (2013-06-17 16:51:55 UTC) #11
toalexjin
On 2013/06/17 14:50:54, bradfitz wrote: > https://codereview.appspot.com/10082044/diff/20001/src/pkg/net/smtp/smtp.go > File src/pkg/net/smtp/smtp.go (right): > > https://codereview.appspot.com/10082044/diff/20001/src/pkg/net/smtp/smtp.go#newcode43 > ...
12 years ago (2013-06-17 16:53:57 UTC) #12
toalexjin
Hello rsc@golang.org, dave@cheney.net, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2013-06-17 17:02:40 UTC) #13
bradfitz
LGTM
12 years ago (2013-06-17 17:07:33 UTC) #14
bradfitz
12 years ago (2013-06-17 23:53:32 UTC) #15
*** Submitted as https://code.google.com/p/go/source/detail?r=7961b83d1d37 ***

net/smtp: close conn in SendMail; add Client.Close method

R=rsc, dave, bradfitz
CC=golang-dev
https://codereview.appspot.com/10082044

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b