Summary: 109 instances, 98 unique Text Count // TODO: MultiStatus. 1 // TODO: let getReadBuf be configurable, and use a less memory-pinning 1 // TODO: this is a common one. It'd be nice to return true 1 // TODO: support Condition.Not and Condition.ETag. 1 // TODO: add support for sharing conns based on cert names 1 // TODO: detect whether string may have to be normalized in the following 1 // TODO: remove this divergence from the HTML5 spec. 2 // TODO: filter need for normalization in loop below. 1 // TODO: care? unlike http/1, it won't mess up our framing, so it's 1 // TODO: Since both RAWTEXT and RCDATA states are treated as tokenizer's part 1 // TODO: check that any declared content-length matches, like 1 // TODO: write h12Compare test showing whether 1 // TODO: I think this might be a lie: it reads bit 0x1000 of the 1 // TODO: assert invariant 1 // TODO: we're being lazy for now, only supporting tab completion at the end. 1 // TODO: does the "verbatim" nature play well with XML namespaces? 1 // TODO: implement 1 // TODO Implement Section 8.3 1 // TODO: handle V2008 2 // TODO: The lockdiscovery property requires LockSystem to list the 1 // TODO: send more details to the peer somehow. But http2 has 1 mu sync.Mutex // TODO: maybe switch to RWMutex 1 // TODO: this parsing is somewhat lame and not exact. 1 // TODO: adjust buffer writing sizes based on server config, frame size updates from peer, etc 1 // TODO: auto-complete any common prefix 1 // TODO: the punycode converters require strings as input. 2 // TODO: return error if server tries to RST_STREAM an idle stream 1 // TODO: detect missing intermediate dirs and return http.StatusConflict? 1 // TODO: better documentation. How nice an API do we want to 1 // TODO: handle the NV8 defined in the Unicode idna data set to allow 2 // TODO: the current error handling is, in my opinion, the least opinionated. 2 // TODO: send a RST_STREAM 1 // TODO: return an error? golang.org/issue/14048 1 // TODO returns a non-nil, empty Context. Code should use context.TODO when 1 // TODO: should we prune this list? Some of these extensions seem 1 // TODO: don't close a cc if it was just added to the pool 1 // TODO (maybe): add a mechanism for Handlers to going into 1 // TODO If the URL is an existing prefix, we could 1 // TODO: care? unlike http/1, it won't mess up our framing, so it's 1 // TODO: also do this if we've written the headers but not 1 {{/* TODO: include traceID/spanID */}} 1 // TODO: Enforce file permissions. 1 // TODO: pick a less arbitrary value? this is a bit under 1 // TODO: optionally enforce? Or enforce at the time we receive 1 // TODO: more of "8.1.2.2 Connection-Specific Header Fields" 1 // TODO: change default depending on user's locale? 1 // TODO: adjust this writer size to account for frame size + 1 // TODO: remove this divergence from the HTML5 spec. 4 // TODO: SetMaxDynamicTableSize, SetMaxDynamicTableSizeLimit on 1 // TODO: allow for a quick check of the tables data. 1 // TODO: check locks for read-only access?? 1 // TODO: flags for restricting window size, to force CONTINUATION 1 // TODO: return MultiStatus where appropriate. 1 // TODO: deal with GOAWAY more. particularly the error code 1 // TODO: profiles 2 // TODO: support and handle two-byte inline masks 1 defaultMaxStreams = 250 // TODO: make this 100 as the GFE seems to? 1 // TODO: remove this helper function once http2 can use build 1 // TODO: could we also get into this state if 1 // TODO: clean up and rationalize the walk/find code. 1 // TODO: if anybody asks, add a Server field, and remember to define the 1 // TODO: For now, simply ignore the field. In the near 1 timer := time.NewTimer(prefaceTimeout) // TODO: configurable on *Server? 1 // TODO: if the user uses h2i to send a SETTINGS frame advertising 2 // TODO: remove more Connection-specific header fields here, in addition 1 if m >= 63 { // TODO: proper overflow check. making this up. 1 // TODO: remove this further divergence from the HTML5 spec. 1 // TODO: also store bidi info for mapped data. This is possible, but a bit 1 // TODO: How to handle offsets greater than the size of system int? 1 // TODO: consider using strings.Trim(x, " \t") instead, 1 // TODO: track which type of frame & with which flags was sent 1 // TODO: use singleflight for dialing and addConnCalls? 1 // TODO: map err to more interesting error codes, once the 1 app.logf("TODO: h2i doesn't yet write CONTINUATION frames. Copy it from transport.go") 1 // parameter). TODO is recognized by static analysis tools that determine 1 // TODO: remove this method and make it incremental later? This is 1 // TODO: see writeResHeaders.staysWithinBuffer 1 // TODO: Benchmark to determine if the pools are necessary. The GC may have 1 // TODO: figure out what this rxhash actually is. 1 // TODO: decide whether to a) use this in the client code (which didn't 1 // TODO: turn off the serve goroutine when idle, so 1 // TODO: remove this string search and be more like the Windows 1 // TODO: section 9.8.3 says that "Note that an infinite-depth COPY of /A/ 1 maxWriteSize uint32 // zero means unlimited; TODO: implement 1 // TODO: Consider removing this check after verifying performance is okay. 1 // TODO: less copy-happy queue. 1 // TODO: judging by RFC 7540, Section 6.5.3 each SETTINGS frame should be 1 // TODO: specify case sensitivity and leading/trailing dot behavior for 1 // TODO: ConnectionError might be overly harsh? Check. 1 // TODO: add CloseWrite to crypto/tls.Conn first 1 // TODO: this is a fairly literal line-by-line translation of that algorithm. 1 // TODO: merge the use of this in the trie. 2 // TODO: be stricter here? only silently ignore things which 1 // reading data (see possible TODO at top of 1 // TODO: add method *Decoder.Reset(maxSize, emitFunc) to let callers re-use Decoders and their 1 // TODO: configurable? 1 // TODO: do clients send GOAWAY too? maybe? Just Close: 1 // TODO: consider first doing a quick check to see if any of these checks 1