Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RemoteAddr (0.17 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        delegate!!.bind(localAddr)
      }
    
      @Throws(IOException::class)
      override fun connect(remoteAddr: SocketAddress) {
        delegate!!.connect(remoteAddr)
      }
    
      @Throws(IOException::class)
      override fun connect(
        remoteAddr: SocketAddress,
        timeout: Int,
      ) {
        delegate!!.connect(remoteAddr, timeout)
      }
    
      override fun isInputShutdown(): Boolean {
        return delegate!!.isInputShutdown
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. internal/handlers/proxy.go

    		}
    	}
    
    	return addr
    }
    
    // GetSourceIPRaw retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    // however returns without bracketing.
    func GetSourceIPRaw(r *http.Request) string {
    	addr := GetSourceIPFromHeaders(r)
    	if addr == "" {
    		addr = r.RemoteAddr
    	}
    
    	// Default to remote address if headers not set.
    	raddr, _, _ := net.SplitHostPort(addr)
    	if raddr == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. internal/grid/manager.go

    			fmt.Printf("grid: Got a %s request for: %v\n", req.Method, req.URL)
    		}
    		ctx := req.Context()
    		if err := m.authRequest(req); err != nil {
    			gridLogOnceIf(ctx, fmt.Errorf("auth %s: %w", req.RemoteAddr, err), req.RemoteAddr+err.Error())
    			w.WriteHeader(http.StatusForbidden)
    			return
    		}
    		conn, _, _, err := ws.UpgradeHTTP(req, w)
    		if err != nil {
    			if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
      // Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
      // +optional
      repeated ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;
    }
    
    // APIGroupList is a list of APIGroup, to allow clients to discover the API at
    // /apis.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
Back to top