Lines Matching defs:testMode
252 func testHostHandlers(t *testing.T, mode testMode) {
492 func testServeWithSlashRedirectKeepsQueryString(t *testing.T, mode testMode) {
633 func testShouldRedirectConcurrency(t *testing.T, mode testMode) {
684 func testServerTimeouts(t *testing.T, mode testMode) {
696 func testServerTimeoutsWithTimeout(t *testing.T, timeout time.Duration, mode testMode) error {
771 func testServerReadTimeout(t *testing.T, mode testMode) {
812 func testServerNoReadTimeout(t *testing.T, mode testMode) {
856 func testServerWriteTimeout(t *testing.T, mode testMode) {
921 func testServerNoWriteTimeout(t *testing.T, mode testMode) {
951 func testWriteDeadlineExtendedOnNewRequest(t *testing.T, mode testMode) {
1008 func testWriteDeadlineEnforcedPerStream(t *testing.T, mode testMode, timeout time.Duration) error {
1068 func testNoWriteDeadline(t *testing.T, mode testMode, timeout time.Duration) error {
1102 func testOnlyWriteTimeout(t *testing.T, mode testMode) {
1168 func testIdentityResponse(t *testing.T, mode testMode) {
1358 func testKeepAliveFinalChunkWithEOF(t *testing.T, mode testMode) {
1386 func testSetsRemoteAddr(t *testing.T, mode testMode) {
1436 func testServerAllowsBlockingRemoteAddr(t *testing.T, mode testMode) {
1504 func testHeadResponses(t *testing.T, mode testMode) {
1542 func testTLSHandshakeTimeout(t *testing.T, mode testMode) {
1570 func testTLSServer(t *testing.T, mode testMode) {
1673 func testTLSServerRejectHTTPRequests(t *testing.T, mode testMode) {
1890 func testServerExpect(t *testing.T, mode testMode) {
2453 func testTimeoutHandler(t *testing.T, mode testMode) {
2510 func testTimeoutHandlerRace(t *testing.T, mode testMode) {
2552 func testTimeoutHandlerRaceHeader(t *testing.T, mode testMode) {
2589 func testTimeoutHandlerRaceHeaderTimeout(t *testing.T, mode testMode) {
2646 func testTimeoutHandlerStartTimerWhenServing(t *testing.T, mode testMode) {
2674 func testTimeoutHandlerContextCanceled(t *testing.T, mode testMode) {
2715 func testTimeoutHandlerEmptyResponse(t *testing.T, mode testMode) {
2861 func testZeroLengthPostAndResponse(t *testing.T, mode testMode) {
2917 func testHandlerPanic(t *testing.T, withHijack bool, mode testMode, wrapper func(Handler) Handler, …
2982 func testServerWriteHijackZeroBytes(t *testing.T, mode testMode) {
3022 func testServerNoHeader(t *testing.T, mode testMode, header string) {
3038 func testStripPrefix(t *testing.T, mode testMode) {
3094 func testRequestLimit(t *testing.T, mode testMode) {
3171 func testRequestBodyLimit(t *testing.T, mode testMode) {
3223 func testClientWriteShutdown(t *testing.T, mode testMode) {
3275 func testServerGracefulClose(t *testing.T, mode testMode) {
3340 func testCaseSensitiveMethod(t *testing.T, mode testMode) {
3364 func testContentLengthZero(t *testing.T, mode testMode) {
3394 func testCloseNotifier(t *testing.T, mode testMode) {
3436 func testCloseNotifierPipelined(t *testing.T, mode testMode) {
3517 func testHijackAfterCloseNotifier(t *testing.T, mode testMode) {
3564 func testHijackBeforeRequestBodyRead(t *testing.T, mode testMode) {
3610 func testOptions(t *testing.T, mode testMode) {
3662 func testOptionsHandler(t *testing.T, mode testMode) {
3970 func testHTTP10ConnectionHeader(t *testing.T, mode testMode) {
4021 func testServerReaderFromOrder(t *testing.T, mode testMode) {
4120 func testTransportAndServerSharedBodyRace(t *testing.T, mode testMode) {
4213 func testRequestBodyCloseDoesntBlock(t *testing.T, mode testMode) {
4289 func testServerConnState(t *testing.T, mode testMode) {
4454 func testServerKeepAlivesEnabledResultClose(t *testing.T, mode testMode) {
4471 func testServerEmptyBodyRace(t *testing.T, mode testMode) {
4558 func testServerFlushAndHijack(t *testing.T, mode testMode) {
4594 func testServerKeepAliveAfterWriteError(t *testing.T, mode testMode) {
4648 func testNoContentLengthIfTransferEncoding(t *testing.T, mode testMode) {
4801 func testHandlerSetsBodyNil(t *testing.T, mode testMode) {
4897 func testServerHandlersCanHandleH2PRI(t *testing.T, mode testMode) {
5001 func testServerRequestContextCancel_ServeHTTPDone(t *testing.T, mode testMode) {
5032 func testServerRequestContextCancel_ConnClose(t *testing.T, mode testMode) {
5054 func testServerContext_ServerContextKey(t *testing.T, mode testMode) {
5072 func testServerContext_LocalAddrContextKey(t *testing.T, mode testMode) {
5127 func benchmarkClientServer(b *testing.B, mode testMode) {
5165 func benchmarkClientServerParallel(b *testing.B, parallelism int, mode testMode) {
5545 func benchmarkCloseNotifier(b *testing.B, mode testMode) {
5582 func testServerIdleTimeout(t *testing.T, mode testMode) {
5675 func testServerSetKeepAlivesEnabledClosesConns(t *testing.T, mode testMode) {
5719 func testServerShutdown(t *testing.T, mode testMode) {
5780 func testServerShutdownStateNew(t *testing.T, mode testMode) {
5856 func testServerKeepAlivesEnabled(t *testing.T, mode testMode) {
5906 func testServerCancelsReadTimeoutWhenIdle(t *testing.T, mode testMode) {
5960 func testServerCancelsReadHeaderTimeoutWhenIdle(t *testing.T, mode testMode) {
6028 func testServerDuplicateBackgroundRead(t *testing.T, mode testMode) {
6085 func testServerHijackGetsBackgroundByte(t *testing.T, mode testMode) {
6141 func testServerHijackGetsBackgroundByte_big(t *testing.T, mode testMode) {
6308 func testServerContexts(t *testing.T, mode testMode) {
6346 func testConnContextNotModifyingAllContexts(t *testing.T, mode testMode) {
6380 func testUnsupportedTransferEncodingsReturn501(t *testing.T, mode testMode) {
6420 func testContentEncodingNoSniffing(t *testing.T, mode testMode) {
6516 func testTimeoutHandlerSuperfluousLogs(t *testing.T, mode testMode) {
6648 func testDisableKeepAliveUpgrade(t *testing.T, mode testMode) {
6714 func testWriteHeaderSwitchingProtocols(t *testing.T, mode testMode) {
6820 func testQuerySemicolon(t *testing.T, mode testMode, query string, wantX string, allowSemicolons, e…
6879 func testMaxBytesHandler(t *testing.T, mode testMode, maxSize, requestSize int64) {
7001 func testParseFormCleanup(t *testing.T, mode testMode) {
7079 func testHeadBody(t *testing.T, mode testMode, chunked bool, method string) {
7124 func testDisableContentLength(t *testing.T, mode testMode) {
7162 func testErrorContentLength(t *testing.T, mode testMode) {
7206 func testServerReadAfterWriteHeader100Continue(t *testing.T, mode testMode) {
7237 func testServerReadAfterHandlerDone100Continue(t *testing.T, mode testMode) {
7264 func testServerReadAfterHandlerAbort100Continue(t *testing.T, mode testMode) {