Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http/cgi: No way to pass error io.Writer to CGI (including patch) #7197

Closed
gopherbot opened this issue Jan 23, 2014 · 5 comments
Closed

Comments

@gopherbot
Copy link

by steven.hartland@multiplay.co.uk:

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Use CGI and attempt to redirect STDERR to an alternative location

What is the expected output?
The ability to configure the error io.Writer should be present


What do you see instead?
The ability to configure the error io.Writer is not present


Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
FreeBSD 8.3-RELEASE

Which version are you using?  (run 'go version')
go version go1.2 freebsd/amd64

Please provide any additional information below.
Apply the attached patch which adds the Stderr option

Attachments:

  1. cgi-err.patch (1025 bytes)
@bradfitz
Copy link
Contributor

Comment 1:

We don't attach patches to the bug tracker.  Our development and code review workflow is
documented at:
http://golang.org/doc/contribute.html
Be sure to submit a CLA as well:
http://golang.org/doc/contribute.html#copyright

@davecheney
Copy link
Contributor

Comment 2:

Please submit your patch via the CLA process outlined in comment number 1.

Status changed to WaitingForReply.

@rsc
Copy link
Contributor

rsc commented Mar 3, 2014

Comment 3:

Labels changed: added repo-main, release-none.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@bradfitz
Copy link
Contributor

@stevenh has signed the CLA and submitted stuff in the past, so I'll send his patch out in Gerrit: https://go-review.googlesource.com/21196

@gopherbot
Copy link
Author

CL https://golang.org/cl/21196 mentions this issue.

@golang golang locked and limited conversation to collaborators Mar 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants