- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RemoteAddress (0.16 sec)
-
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
@Test fun testOkHttpProxied() { testRequest { it.withProxyConfiguration(ProxyConfiguration.proxyConfiguration(ProxyConfiguration.Type.HTTP, it.remoteAddress())) val client = OkHttpClient.Builder() .proxy(Proxy(Proxy.Type.HTTP, it.remoteAddress())) .build() val response = client.newCall( Request((mockServer.endpoint + "/person?name=peter").toHttpUrl()),
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java
} catch (ClassNotFoundException e) { throw new RecoverableMessageIOException(String.format("Could not read message from '%s'.", remoteAddress), e); } catch (IOException e) { throw new RecoverableMessageIOException(String.format("Could not read message from '%s'.", remoteAddress), e); } catch (Throwable e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 11.8K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/xfcc_authenticator.go
return XfccAuthenticatorType } // Authenticate extracts identities from Xfcc Header. func (xff XfccAuthenticator) Authenticate(ctx security.AuthContext) (*security.Caller, error) { remoteAddr := ctx.RemoteAddress() xfccHeader := ctx.Header(xfccparser.ForwardedClientCertHeader) if len(remoteAddr) == 0 || len(xfccHeader) == 0 { return nil, fmt.Errorf("caller from %s does not have Xfcc header", remoteAddr) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 17:05:56 UTC 2024 - 3K bytes - Viewed (0) -
pkg/security/security.go
) type AuthContext struct { // grpc context GrpcContext context.Context // http request Request *http.Request } // RemoteAddress returns the authenticated remote address from AuthContext. func (ac *AuthContext) RemoteAddress() string { if ac.GrpcContext != nil { return GetConnectionAddress(ac.GrpcContext) } else if ac.Request != nil { return ac.Request.RemoteAddr } return ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 19.1K bytes - Viewed (0)