Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/caddyserver/caddy
/ updateReadSize
Method
updateReadSize
modules/caddyhttp/responsewriter.go:284–288 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
282
}
283
284
func
(hc *hijackedConn) updateReadSize(n int) {
285
if
hc.rr.readSize != nil {
286
*hc.rr.readSize += n
287
}
288
}
289
290
func
(hc *hijackedConn) Read(p []byte) (int, error) {
291
n, err := hc.Conn.Read(p)
Callers
3
Read
Method · 0.95
WriteTo
Method · 0.95
Hijack
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected