From 4ddde0e984e9c8d85913f8a8be88ce66b1b0fbae Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 14 Dec 2021 16:22:29 -0800 Subject: [PATCH] http2: fix tipo in comment Change-Id: I821714084436f4d16c9a26ea09d1bdc8e78ceddf Reviewed-on: https://go-review.googlesource.com/c/net/+/372134 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Brad Fitzpatrick --- http2/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http2/server.go b/http2/server.go index d219dc4c..e644d9b2 100644 --- a/http2/server.go +++ b/http2/server.go @@ -722,7 +722,7 @@ func (sc *serverConn) canonicalHeader(v string) string { // maxCachedCanonicalHeaders is an arbitrarily-chosen limit on the number of // entries in the canonHeader cache. This should be larger than the number // of unique, uncommon header keys likely to be sent by the peer, while not - // so high as to permit unreaasonable memory usage if the peer sends an unbounded + // so high as to permit unreasonable memory usage if the peer sends an unbounded // number of unique header keys. const maxCachedCanonicalHeaders = 32 if len(sc.canonHeader) < maxCachedCanonicalHeaders {