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

Issue 5630053: code review 5630053: net/http: prevent the ServeMux from clobbering user rou... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by sanjay.m
Modified:
12 years, 3 months ago
CC:
golang-dev
Visibility:
Public.

Description

net/http: prevent the ServeMux from clobbering user routes when its trying to be helpful

Patch Set 1 #

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

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

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -2 lines) Patch
M src/pkg/net/http/serve_test.go View 1 1 chunk +52 lines, -0 lines 3 comments Download
M src/pkg/net/http/server.go View 1 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 15
sanjay.m
Hello golang-dev@googlegroups.com (cc: bradfitz@golang.org, golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 3 months ago (2012-02-04 11:45:20 UTC) #1
bradfitz
Also, update your commit description to be shorter & more descriptive. Perhaps: net/http: prevent ServeMux ...
12 years, 3 months ago (2012-02-04 18:51:25 UTC) #2
rsc
I'm a little confused about why it is a good idea to treat /foo and ...
12 years, 3 months ago (2012-02-04 19:26:16 UTC) #3
rsc
On Sat, Feb 4, 2012 at 14:26, Russ Cox <rsc@golang.org> wrote: > I'm a little ...
12 years, 3 months ago (2012-02-04 19:30:00 UTC) #4
bradfitz
On Sat, Feb 4, 2012 at 11:29 AM, Russ Cox <rsc@golang.org> wrote: > On Sat, ...
12 years, 3 months ago (2012-02-04 19:34:00 UTC) #5
rsc
On Sat, Feb 4, 2012 at 14:33, Brad Fitzpatrick <bradfitz@golang.org> wrote: > why would it ...
12 years, 3 months ago (2012-02-04 19:36:49 UTC) #6
bradfitz
On Sat, Feb 4, 2012 at 11:36 AM, Russ Cox <rsc@golang.org> wrote: > On Sat, ...
12 years, 3 months ago (2012-02-04 19:54:26 UTC) #7
rsc
Okay, then that is definitely a bug. You shouldn't be able to just silently have ...
12 years, 3 months ago (2012-02-04 21:55:26 UTC) #8
kevlar
for what it's worth, the current behavior causes me headaches with a reverse proxy I ...
12 years, 3 months ago (2012-02-05 00:04:32 UTC) #9
dsymonds
Maybe there needs to be a secondary map that holds the set of implicitly registered ...
12 years, 3 months ago (2012-02-05 00:14:25 UTC) #10
sanjay.m
As others have said, the mux, as it stands, does not panic when it would ...
12 years, 3 months ago (2012-02-05 02:25:37 UTC) #11
sanjay.m
Also, Brad, funnily enough, case was the name of the tCase struct, I don't think ...
12 years, 3 months ago (2012-02-05 02:29:31 UTC) #12
rsc
This is not a critical bug fix. Let's postpone this until after Go 1. Please ...
12 years, 3 months ago (2012-02-06 17:44:25 UTC) #13
sanjay.m
Sounds good, filed issue: golang.org/issue/2900 Sanjay
12 years, 3 months ago (2012-02-07 08:53:29 UTC) #14
sanjay.m
12 years, 3 months ago (2012-02-08 07:27:45 UTC) #15
*** Abandoned ***
Sign in to reply to this message.

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