18 matches across 1 files for TODO path:src/net/http/internal/http2/server.go path:src/net/http/internal/http2/server.go
snippet_mode: auto · sorted by relevance
src/net/http/internal/http2/server.go GO 18 matches · showing 5 view file →
3// license that can be found in the LICENSE file.
4
5// TODO: turn off the serve goroutine when idle, so
6// an idle conn only has the readFrames goroutine active. (which could
7// also be optimized probably to pin less memory in crypto/tls). This
· · ·
15// returns.
16
17// TODO (maybe): add a mechanism for Handlers to going into
18// half-closed-local mode (rw.(io.Closer) test?) but not exit their
19// handler, and continue to be able to read from the
· · ·
59 firstSettingsTimeout = 2 * time.Second // should be in-flight with preface anyway
60 handlerChunkWriteSize = 4 << 10
61 defaultMaxStreams = 250 // TODO: make this 100 as the GFE seems to?
62
63 // maxQueuedControlFrames is the maximum number of control frames like
· · ·
360 // addresses during development.
361 //
362 // TODO: optionally enforce? Or enforce at the time we receive
363 // a new request, and verify the ServerName matches the :authority?
364 // But that precludes proxy situations, perhaps.
· · ·
600// errno returns v's underlying uintptr, else 0.
601//
602// TODO: remove this helper function once http2 can use build
603// tags. See comment in isClosedConnError.
604func errno(v error) uintptr {
+ 13 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.