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

Issue 159780043: code review 159780043: net/http/fcgi: Fix resource leaks

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by esk
Modified:
9 years, 5 months ago
Reviewers:
bradfitz
CC:
golang-codereviews
Visibility:
Public.

Description

net/http/fcgi: Fix resource leaks Close the pipe for the body of a request when it is aborted and close all pipes when child.serve terminates. Fixes issue 6934.

Patch Set 1 #

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

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

Total comments: 14

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -1 line) Patch
M src/net/http/fcgi/child.go View 1 2 3 3 chunks +14 lines, -1 line 0 comments Download
M src/net/http/fcgi/fcgi_test.go View 1 2 3 2 chunks +67 lines, -0 lines 0 comments Download

Messages

Total messages: 6
esk
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
9 years, 7 months ago (2014-10-13 02:26:52 UTC) #1
bradfitz
https://codereview.appspot.com/159780043/diff/40001/src/net/http/fcgi/child.go File src/net/http/fcgi/child.go (right): https://codereview.appspot.com/159780043/diff/40001/src/net/http/fcgi/child.go#newcode231 src/net/http/fcgi/child.go:231: println("abort") This line should be removed too. Looks like ...
9 years, 6 months ago (2014-10-27 19:28:40 UTC) #2
esk
I've added comments to explain the new test. PTAL. https://codereview.appspot.com/159780043/diff/40001/src/net/http/fcgi/child.go File src/net/http/fcgi/child.go (right): https://codereview.appspot.com/159780043/diff/40001/src/net/http/fcgi/child.go#newcode231 src/net/http/fcgi/child.go:231: ...
9 years, 6 months ago (2014-11-01 04:02:35 UTC) #3
bradfitz
Unfortunately I was on vacation for the past two weeks and wasn't able to get ...
9 years, 6 months ago (2014-11-12 18:58:11 UTC) #4
gobot
R=close To the author of this CL: The Go project has moved to Gerrit Code ...
9 years, 5 months ago (2014-12-19 05:14:29 UTC) #5
bradfitz
9 years, 5 months ago (2014-12-21 05:07:56 UTC) #6
Evan, could you move this over to Gerrit? I'd like to see this fixed at the
beginning of the Go 1.5 dev cycle, before we get near/past the 3 months of
hacking.
Sign in to reply to this message.

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