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

Issue 7315043: code review 7315043: net/http: Format HTTP-date string every second.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by songofacandy
Modified:
10 years, 11 months ago
Reviewers:
mattn, rsc, dave
Visibility:
Public.

Description

net/http: Format HTTP-date string every second. (See https://gist.github.com/methane/4715414 for benchmark)

Patch Set 1 #

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

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

Total comments: 4

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M src/pkg/net/http/server.go View 1 2 3 4 2 chunks +29 lines, -1 line 1 comment Download

Messages

Total messages: 19
songofacandy
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 3 months ago (2013-02-06 01:31:49 UTC) #1
mattn
LGTM https://codereview.appspot.com/7315043/diff/1002/src/pkg/net/http/server.go File src/pkg/net/http/server.go (right): https://codereview.appspot.com/7315043/diff/1002/src/pkg/net/http/server.go#newcode39 src/pkg/net/http/server.go:39: var httpDate string I prefer to add more ...
11 years, 3 months ago (2013-02-06 01:39:01 UTC) #2
dave_cheney.net
NOT LGTM. This introduces a data race. Please discussion your proposal on the mailing list ...
11 years, 3 months ago (2013-02-06 01:43:36 UTC) #3
mattn
> NOT LGTM. This introduces a data race. > > Please discussion your proposal on ...
11 years, 3 months ago (2013-02-06 01:51:16 UTC) #4
minux1
https://codereview.appspot.com/7315043/diff/1002/src/pkg/net/http/server.go File src/pkg/net/http/server.go (right): https://codereview.appspot.com/7315043/diff/1002/src/pkg/net/http/server.go#newcode39 src/pkg/net/http/server.go:39: var httpDate string this is racy.
11 years, 3 months ago (2013-02-06 01:56:11 UTC) #5
mattn
https://codereview.appspot.com/7315043/diff/1002/src/pkg/net/http/server.go File src/pkg/net/http/server.go (right): https://codereview.appspot.com/7315043/diff/1002/src/pkg/net/http/server.go#newcode39 src/pkg/net/http/server.go:39: var httpDate string On 2013/02/06 01:56:11, minux wrote: > ...
11 years, 3 months ago (2013-02-06 02:06:53 UTC) #6
songofacandy
I see. I posted updated patch to https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/zeLMYnjO_JA On 2013/02/06 01:43:36, dfc wrote: > NOT ...
11 years, 3 months ago (2013-02-06 02:09:27 UTC) #7
songofacandy
My post has not shown... I've posted this gist: https://gist.github.com/methane/4719273
11 years, 3 months ago (2013-02-06 02:34:45 UTC) #8
songofacandy
Hello golang-dev@googlegroups.com, mattn.jp@gmail.com, dave@cheney.net, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 3 months ago (2013-02-06 02:57:03 UTC) #9
songofacandy
I understand that string is not an atomic type. I'll update patch with RWMutex.
11 years, 3 months ago (2013-02-06 03:47:47 UTC) #10
songofacandy
Hello golang-dev@googlegroups.com, mattn.jp@gmail.com, dave@cheney.net, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 3 months ago (2013-02-06 03:52:25 UTC) #11
minux1
https://codereview.appspot.com/7315043/diff/6002/src/pkg/net/http/server.go File src/pkg/net/http/server.go (right): https://codereview.appspot.com/7315043/diff/6002/src/pkg/net/http/server.go#newcode514 src/pkg/net/http/server.go:514: go func() { this is still racy and can ...
11 years, 3 months ago (2013-02-06 14:05:02 UTC) #12
disposaboy_dby.me
On Wednesday, February 6, 2013 1:39:01 AM UTC, mattn wrote: > > LGTM > > ...
11 years, 3 months ago (2013-02-08 16:17:12 UTC) #13
rsc
NOT LGTM What is the purpose of this CL? Is it to beat some other ...
11 years, 3 months ago (2013-02-08 16:27:27 UTC) #14
songofacandy
On 2013/02/08 16:27:27, rsc wrote: > NOT LGTM > > What is the purpose of ...
11 years, 3 months ago (2013-02-08 17:40:13 UTC) #15
rsc
Before we go any further Brad needs to argue that this should go forward. As ...
11 years, 3 months ago (2013-02-08 20:41:22 UTC) #16
bradfitz
I used to care more, before time.Format got faster. (Hence my old Format CL) There's ...
11 years, 3 months ago (2013-02-08 21:05:49 UTC) #17
bradfitz
R=close (testing something)
10 years, 11 months ago (2013-06-04 21:30:19 UTC) #18
bradfitz
10 years, 11 months ago (2013-06-04 21:30:42 UTC) #19

          
Sign in to reply to this message.

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