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

Issue 63520043: code review 63520043: net/http: increase panic stack trace buffer size from 4... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by dsymonds
Modified:
11 years, 4 months ago
Reviewers:
gobot, bradfitz
CC:
bradfitz, golang-codereviews
Visibility:
Public.

Description

net/http: increase panic stack trace buffer size from 4 KB to 64 KB. 4 KB is a bit too small in some situations (e.g. panic during a template execution), and ends up with an unhelpfully-truncated trace. 64 KB should be much more likely to capture the useful information. There's not a garbage generation issue, since this code should only be triggered when there's something seriously wrong with the program.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/net/http/server.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
dsymonds
Hello bradfitz (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 4 months ago (2014-02-13 23:08:01 UTC) #1
bradfitz
LGTM On Thu, Feb 13, 2014 at 3:08 PM, <dsymonds@golang.org> wrote: > Reviewers: bradfitz, > ...
11 years, 4 months ago (2014-02-13 23:12:30 UTC) #2
dsymonds
*** Submitted as https://code.google.com/p/go/source/detail?r=e242b6b52827 *** net/http: increase panic stack trace buffer size from 4 KB ...
11 years, 4 months ago (2014-02-13 23:15:44 UTC) #3
gobot
11 years, 4 months ago (2014-02-13 23:19:29 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the freebsd-amd64 builder.
Sign in to reply to this message.

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