MCPcopy Create free account

hub / github.com/caddyserver/caddy / functions

Functions2,647 in github.com/caddyserver/caddy

FunctionTestServer_TrustedRealClientIP_MultipleTrustedHeaderValidArray
(t *testing.T)
modules/caddyhttp/server_test.go:234
FunctionTestServer_TrustedRealClientIP_NoTrustedHeaders
(t *testing.T)
modules/caddyhttp/server_test.go:173
FunctionTestServer_TrustedRealClientIP_OneTrustedHeaderEmpty
(t *testing.T)
modules/caddyhttp/server_test.go:181
FunctionTestServer_TrustedRealClientIP_OneTrustedHeaderInvalid
(t *testing.T)
modules/caddyhttp/server_test.go:189
FunctionTestServer_TrustedRealClientIP_OneTrustedHeaderValid
(t *testing.T)
modules/caddyhttp/server_test.go:198
FunctionTestServer_TrustedRealClientIP_OneTrustedHeaderValidArray
(t *testing.T)
modules/caddyhttp/server_test.go:207
FunctionTestServer_TrustedRealClientIP_SkipsInvalidIps
(t *testing.T)
modules/caddyhttp/server_test.go:225
FunctionTestServer_serveHTTP_DropsUnderscoreHeader
TestServer_serveHTTP_DropsUnderscoreHeader covers GHSA-f59h-q822-g45g: an underscore-named alias (e.g. `Remote_user`) of a hyphenated header must be d
modules/caddyhttp/server_test.go:488
FunctionTestServer_serveHTTP_LogsDroppedUnderscoreHeader
TestServer_serveHTTP_LogsDroppedUnderscoreHeader verifies each dropped header is emitted at debug level so operators can diagnose unexpectedly missing
modules/caddyhttp/server_test.go:512
FunctionTestSetThenAddQueryParams
(t *testing.T)
caddytest/integration/caddyfile_test.go:539
FunctionTestSetThenDeleteParams
(t *testing.T)
caddytest/integration/caddyfile_test.go:556
FunctionTestSharedQUICStateGetEncryptedClientHelloKeys
(t *testing.T)
listeners_test.go:179
FunctionTestSnippetAcrossMultipleFiles
(t *testing.T)
caddyconfig/caddyfile/parse_test.go:831
FunctionTestSnippets
(t *testing.T)
caddyconfig/caddyfile/parse_test.go:762
FunctionTestSpecificity
(t *testing.T)
caddyconfig/httpcaddyfile/httptype_test.go:116
FunctionTestSplitFrontMatter
(t *testing.T)
modules/caddyhttp/templates/tplcontext_test.go:563
FunctionTestSplitNetworkAddress
(t *testing.T)
listeners_test.go:25
FunctionTestSplitPos
(t *testing.T)
modules/caddyhttp/reverseproxy/fastcgi/fastcgi_test.go:73
FunctionTestSplitPosSecurityRegressionUnicodeBypass
TestSplitPosSecurityRegressionUnicodeBypass guards against the FrankenPHP advisories GHSA-3g8v-8r37-cgjm (uninitialized match flag on inner non-ASCII
modules/caddyhttp/reverseproxy/fastcgi/fastcgi_test.go:337
FunctionTestSplitPosUnicodeSecurityRegression
TestSplitPosUnicodeSecurityRegression specifically tests the vulnerability described in GHSA-g966-83w7-6w38 where Unicode case-folding caused incorrec
modules/caddyhttp/reverseproxy/fastcgi/fastcgi_test.go:285
FunctionTestSplitUnixSocketPermissionsBits
(t *testing.T)
listeners_test.go:619
FunctionTestStaticResponseHandler
(t *testing.T)
modules/caddyhttp/staticresp_test.go:28
FunctionTestStaticUpstreamHealthPersistedAcrossReprovisioning
TestStaticUpstreamHealthPersistedAcrossReprovisioning verifies that static upstreams share a Host via the UsagePool, so a second call to provisionUpst
modules/caddyhttp/reverseproxy/passive_health_test.go:226
FunctionTestStaticUpstreamHealthyWithNoFailures
--- static upstream passive health check --- TestStaticUpstreamHealthyWithNoFailures verifies that a static upstream with no recorded failures is cons
modules/caddyhttp/reverseproxy/passive_health_test.go:166
FunctionTestStaticUpstreamRecoversAfterFailDuration
TestStaticUpstreamRecoversAfterFailDuration verifies that a static upstream returns to healthy once its failures expire.
modules/caddyhttp/reverseproxy/passive_health_test.go:202
FunctionTestStaticUpstreamUnhealthyAtMaxFails
TestStaticUpstreamUnhealthyAtMaxFails verifies that a static upstream is marked unhealthy once its fail count reaches MaxFails.
modules/caddyhttp/reverseproxy/passive_health_test.go:181
FunctionTestStoragePoolUnmarshalCaddyfile
(t *testing.T)
modules/caddytls/capools_test.go:390
FunctionTestStripHTML
(t *testing.T)
modules/caddyhttp/templates/tplcontext_test.go:394
FunctionTestSubrouteErrorFallbackWithBody
TestSubrouteErrorFallbackWithBody is similar to TestDialErrorBodyRetry but mimics Subroute's Error handler rather than testing retries specifically
modules/caddyhttp/reverseproxy/retries_test.go:736
FunctionTestSwitchProtocolCopierBufferSize
(t *testing.T)
modules/caddyhttp/reverseproxy/streaming_test.go:40
FunctionTestSwitchProtocolCopierDefaultBufferSize
(t *testing.T)
modules/caddyhttp/reverseproxy/streaming_test.go:69
FunctionTestSystemCAPoolProvision
(t *testing.T)
modules/caddytls/capools_test.go:912
FunctionTestSystemCAPoolUnmarshalCaddyfile
(t *testing.T)
modules/caddytls/capools_test.go:781
FunctionTestTLSConfig_unmarshalCaddyfile
(t *testing.T)
modules/caddytls/capools_test.go:481
FunctionTestTracing_JSON_Configuration
(t *testing.T)
modules/caddyhttp/tracing/module_test.go:246
FunctionTestTracing_OpenTelemetry_Span_Attributes
(t *testing.T)
modules/caddyhttp/tracing/module_test.go:286
FunctionTestTracing_ServeHTTP_Next_Error
(t *testing.T)
modules/caddyhttp/tracing/module_test.go:219
FunctionTestTracing_ServeHTTP_Propagation_With_Initial_Headers
(t *testing.T)
modules/caddyhttp/tracing/module_test.go:188
FunctionTestTracing_ServeHTTP_Propagation_Without_Initial_Headers
(t *testing.T)
modules/caddyhttp/tracing/module_test.go:158
FunctionTestTracing_UnmarshalCaddyfile
(t *testing.T)
modules/caddyhttp/tracing/module_test.go:20
FunctionTestTracing_UnmarshalCaddyfile_Error
(t *testing.T)
modules/caddyhttp/tracing/module_test.go:105
FunctionTestTransportErrorPlaceholder
TestTransportErrorPlaceholder verifies that the is_transport_error placeholder is set to true during transport error evaluation in tryAgain() and that
modules/caddyhttp/reverseproxy/retries_test.go:593
FunctionTestTransportErrorPlaceholderNotSetForResponses
TestTransportErrorPlaceholderNotSetForResponses verifies that the is_transport_error placeholder is NOT set when evaluating response matchers, so {rp.
modules/caddyhttp/reverseproxy/retries_test.go:640
FunctionTestTryFilesRewriteEscapesMatchedPath
(t *testing.T)
modules/caddyhttp/fileserver/matcher_test.go:192
FunctionTestURIHashPolicy
(t *testing.T)
modules/caddyhttp/reverseproxy/selectionpolicies_test.go:582
FunctionTestUnsyncedConfigAccess
(t *testing.T)
admin_test.go:67
FunctionTestUnsyncedConfigAccessCanonicalArrayIndices
(t *testing.T)
admin_test.go:1105
FunctionTestUriOps
(t *testing.T)
caddytest/integration/caddyfile_test.go:500
FunctionTestUriOpsBlock
(t *testing.T)
caddytest/integration/caddyfile_test.go:677
FunctionTestUriReplace
(t *testing.T)
caddytest/integration/caddyfile_test.go:483
FunctionTestValidPrefix
(t *testing.T)
caddytest/integration/caddyfile_test.go:179
FunctionTestValidate
(t *testing.T)
modules/caddyhttp/encode/encode_test.go:131
FunctionTestValidateCookieFilter
(t *testing.T)
modules/logging/filters_test.go:177
FunctionTestValidateQueryFilter
(t *testing.T)
modules/logging/filters_test.go:142
FunctionTestVarREMatcher
(t *testing.T)
modules/caddyhttp/matchers_test.go:1008
FunctionTestVarsMatcherDoesNotExpandResolvedValues
(t *testing.T)
modules/caddyhttp/vars_test.go:51
FunctionTestWeightedRoundRobinPolicy
(t *testing.T)
modules/caddyhttp/reverseproxy/selectionpolicies_test.go:77
FunctionTestWeightedRoundRobinPolicyWithZeroWeight
(t *testing.T)
modules/caddyhttp/reverseproxy/selectionpolicies_test.go:134
FunctionTest_isCaddyfile
(t *testing.T)
cmd/main_test.go:248
FunctionTest_pemDecodeCertificate
(t *testing.T)
modules/caddypki/crypto_test.go:172
FunctionTest_pemDecodeCertificateChain
(t *testing.T)
modules/caddypki/crypto_test.go:244
FunctionTest_tracersProvider_cleanupTracerProvider
(t *testing.T)
modules/caddyhttp/tracing/tracerprovider_test.go:24
FunctionTest_tracersProvider_getTracerProvider
(t *testing.T)
modules/caddyhttp/tracing/tracerprovider_test.go:9
FunctionTrapSignals
TrapSignals create signal/interrupt handlers as best it can for the current OS. This is a rather invasive function to call in a Go program that captur
sigtrap.go:29
MethodType
()
modules/caddyhttp/celmatcher.go:317
MethodUnmarshalCaddyfile
UnmarshalCaddyfile deserializes Caddyfile tokens into ts. ... tailscale
modules/caddytls/certmanagers.go:78
MethodUnmarshalCaddyfile
UnmarshalCaddyfile deserializes Caddyfile tokens into ts. ... http <url>
modules/caddytls/certmanagers.go:187
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddytls/leafpemloader.go:57
MethodUnmarshalCaddyfile
UnmarshalCaddyfile deserializes Caddyfile tokens into iss. ... zerossl <api_key> { validity_days <days> alt_http_port <port> dns <
modules/caddytls/zerosslissuer.go:138
MethodUnmarshalCaddyfile
UnmarshalCaddyfile sets up the MatchServerName from Caddyfile tokens. Syntax: sni <domains...>
modules/caddytls/matchers.go:132
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddytls/matchers.go:232
MethodUnmarshalCaddyfile
UnmarshalCaddyfile sets up the MatchRemoteIP from Caddyfile tokens. Syntax: remote_ip <ranges...> Note: IPs and CIDRs prefixed with ! symbol are tr
modules/caddytls/matchers.go:401
MethodUnmarshalCaddyfile
UnmarshalCaddyfile sets up the MatchLocalIP from Caddyfile tokens. Syntax: local_ip <ranges...>
modules/caddytls/matchers.go:514
MethodUnmarshalCaddyfile
UnmarshalCaddyfile sets up the ConnectionPolicy from Caddyfile tokens. Syntax: connection_policy { alpn <values...> cert_select
modules/caddytls/connpolicy.go:481
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddytls/connpolicy.go:990
MethodUnmarshalCaddyfile
UnmarshalCaddyfile deserializes Caddyfile tokens into iss. ... internal { ca <name> lifetime <duration> sign_with_root }
modules/caddytls/internalissuer.go:158
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddytls/leaffileloader.go:57
MethodUnmarshalCaddyfile
UnmarshalCaddyfile deserializes Caddyfile tokens into iss. ... acme [<directory_url>] { dir <directory_url> test_dir <test_directory_url>
modules/caddytls/acmeissuer.go:448
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddytls/ondemand.go:103
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddytls/leaffolderloader.go:60
MethodUnmarshalCaddyfile
(d *caddyfile.Dispenser)
modules/caddyhttp/httpredirectlistener.go:59
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/ip_matchers.go:75
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/ip_matchers.go:191
MethodUnmarshalCaddyfile
UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: respond [<matcher>] <status>|<body> [<status>] { body <text> close
modules/caddyhttp/staticresp.go:141
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:244
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:688
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:789
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:842
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:948
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:1093
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:1288
MethodUnmarshalCaddyfile
UnmarshalCaddyfile parses Caddyfile tokens for this matcher. Syntax: ... tls [early_data] EXPERIMENTAL SYNTAX: Subject to change.
modules/caddyhttp/matchers.go:1354
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:1385
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/matchers.go:1534
MethodUnmarshalCaddyfile
UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: error [<matcher>] <status>|<message> [<status>] { message <text> } If t
modules/caddyhttp/staticerror.go:62
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/ip_range.go:90
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/celmatcher.go:227
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler. Syntax: vars [<name> <val>] { <name> <val> ... }
modules/caddyhttp/vars.go:82
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/vars.go:146
MethodUnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
modules/caddyhttp/vars.go:264
← previousnext →2,201–2,300 of 2,647, ranked by callers