]> Cypherpunks repositories - gostls13.git/commit
net/http: adjust a substring which matches "uninteresting" goroutine
authorNevkontakte <aleks@nevkontakte.com>
Sat, 23 Oct 2021 14:02:25 +0000 (14:02 +0000)
committerDamien Neil <dneil@google.com>
Fri, 5 Nov 2021 21:34:10 +0000 (21:34 +0000)
commitbb53fd740c599dd72c2abdab045ca34a9395ea13
tree8e72db044ad0a8d75953505bda388067d56dc585
parent75952abc6a8a8ad09e6bb1966c66b9a68b5d6c4e
net/http: adjust a substring which matches "uninteresting" goroutine

This change allows the check to pass unmodified under GopherJS, which
stack traces are formatted differently (due to being generated by
NodeJS). There are no other functions named `interestingGoroutines` in
the standard library, so it's very unlikely to create false negatives,
and will allow reduce the number of overlays GopherJS needs to maintain.

Change-Id: I925594c6c313ca35805811f240c8528241950547
GitHub-Last-Rev: 26b32efb225c1ee85de0a51968c31b1a58d56f92
GitHub-Pull-Request: golang/go#49128
Reviewed-on: https://go-review.googlesource.com/c/go/+/358154
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Trust: Damien Neil <dneil@google.com>
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/net/http/main_test.go