MCPcopy Index your code
hub / github.com/celzero/firestack / TestAcceptClose

Function TestAcceptClose

intra/doh/doh_test.go:634–660  ·  view source on GitHub ↗

Sends a TCP query, and closes the socket before the response is sent. This tests for crashes when a response cannot be delivered.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

newFakeTransportFunction · 0.85
makePairFunction · 0.85
WriteMethod · 0.65
ErrorMethod · 0.65
CloseMethod · 0.45

Tested by

no test coverage detected