MCPcopy Create free account
hub / github.com/couchbase/cbft / WriteHeader

Method WriteHeader

cmd/cbft/timeout_handler.go:171–175  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

169}
170
171func (tw *timeoutWriter) WriteHeader(code int) {
172 tw.mu.Lock()
173 defer tw.mu.Unlock()
174 tw.writeHeaderLocked(code)
175}
176
177// relevantCaller searches the call stack for the first function outside of net/http.
178// The purpose of this function is to provide more helpful error messages.

Callers 4

walkDirAndStreamFilesMethod · 0.80
GetWriterMethod · 0.80
CheckAPIVersionFunction · 0.80
ServeHTTPMethod · 0.80

Calls 1

writeHeaderLockedMethod · 0.95

Tested by

no test coverage detected