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

Issue 92790043: code review 92790043: net/http/httputil: tell people not to use ClientConn an... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by bradfitz
Modified:
9 years, 12 months ago
Reviewers:
r, dgryski, vieux, kisielk
CC:
r, adg, golang-codereviews
Visibility:
Public.

Description

net/http/httputil: tell people not to use ClientConn and ServerConn A very smart developer at Gophercon just asked me to help debug a problem and I was horrified to learn that he was using httputil's ClientConn. I forgot ClientConn and ServerConn were even included in Go 1! They should've been deleted. Scare people away from using them. The net/http package does not use them and they're unused, unmaintained and untouched in 4+ years.

Patch Set 1 #

Patch Set 2 : diff -r e141dda580af https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r e141dda580af https://go.googlecode.com/hg/ #

Total comments: 5

Patch Set 4 : diff -r eba73fe6f55e https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -5 lines) Patch
M src/pkg/net/http/httputil/persist.go View 1 2 3 5 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 7
bradfitz
Hello r@golang.org, adg@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
10 years ago (2014-04-26 20:26:22 UTC) #1
r
LGTM https://codereview.appspot.com/92790043/diff/40001/src/pkg/net/http/httputil/persist.go File src/pkg/net/http/httputil/persist.go (right): https://codereview.appspot.com/92790043/diff/40001/src/pkg/net/http/httputil/persist.go#newcode34 src/pkg/net/http/httputil/persist.go:34: // ServerConn is low-level and old. Applications should ...
10 years ago (2014-04-26 21:17:29 UTC) #2
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=d602b3f93a3a *** net/http/httputil: tell people not to use ClientConn and ServerConn A ...
10 years ago (2014-04-27 05:14:42 UTC) #3
dgryski
On Sunday, April 27, 2014 7:14:42 AM UTC+2, Brad Fitzpatrick wrote: > > net/http/httputil: tell ...
9 years, 12 months ago (2014-04-30 08:44:24 UTC) #4
adg
On 30 April 2014 02:44, <dgryski@gmail.com> wrote: > Should there be a bug filed to ...
9 years, 12 months ago (2014-04-30 14:09:55 UTC) #5
vieux
Hi, is it possible to do http over unix socket without httputil.ClientConn ?
9 years, 12 months ago (2014-05-01 00:55:17 UTC) #6
kisielk
9 years, 12 months ago (2014-05-01 12:05:44 UTC) #7
Message was sent while issue was closed.
On 2014/05/01 00:55:17, vieux wrote:
> Hi, is it possible to do http over unix socket without httputil.ClientConn ?

You can set your own dial function on http.Transport, but this probably isn't
the place to discuss it if you need more help than that.
Sign in to reply to this message.

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