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

Issue 207061: code review 207061: Response.Write() was changing the value of Response.Con... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 9 months ago by petar-m
Modified:
16 years, 9 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Response.Write() was changing the value of Response.ContentLength. Fixed. We should clean up any field modifications in Response.Write() and Request.Write() to be consistent and because they make debugging hell.

Patch Set 1 #

Patch Set 2 : code review 207061: Response.Write() was changing the value of Response.Con... #

Patch Set 3 : code review 207061: Response.Write() was changing the value of Response.Con... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M src/pkg/http/response.go View 4 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 3
petar-m
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
16 years, 9 months ago (2010-02-11 01:05:50 UTC) #1
rsc
LGTM sorry for the delay - got buried last week
16 years, 9 months ago (2010-02-19 07:35:57 UTC) #2
rsc
16 years, 9 months ago (2010-02-19 07:38:19 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=1ef5357dad78 ***

http: do not edit Response.ContentLength in Response.Write

R=rsc
CC=golang-dev
http://codereview.appspot.com/207061

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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