Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for pings (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * The default value of 0 disables client-initiated pings.
         */
        fun pingInterval(
          interval: Long,
          unit: TimeUnit,
        ) = apply {
          pingInterval = checkDuration("interval", interval, unit)
        }
    
        /**
         * Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        Previously if you configured a ping interval that would cause OkHttp to send
        pings, but it did not track whether the reply pongs were received. With this
        update OkHttp requires that every ping receive a response: if it does not
        the connection will be closed and the listener's `onFailure()` method will
        be called.
    
        Web sockets have always been had pings, but pings on HTTP/2 connections is
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. cmd/kubelet/app/server.go

    			return nil, nil, err
    		}
    		var onHeartbeatFailure func()
    		// Kubelet needs to be able to recover from stale http connections.
    		// HTTP2 has a mechanism to detect broken connections by sending periodical pings.
    		// HTTP1 only can have one persistent connection, and it will close all Idle connections
    		// once the Kubelet heartbeat fails. However, since there are many edge cases that we can't
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response.protocol).isEqualTo(protocol)
    
        // Confirm a single ping was sent and received, and its reply was sent and received.
        val logs = testLogHandler.takeAll()
        assertThat(countFrames(logs, "FINE: >> 0x00000000     8 PING          "))
          .isEqualTo(1)
        assertThat(countFrames(logs, "FINE: << 0x00000000     8 PING          "))
          .isEqualTo(1)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().ping(false, 2, 3)
        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
        connect(peer)
    
        // Verify the peer received what was expected.
        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
        assertThat(ping.streamId).isEqualTo(0)
        assertThat(ping.payload1).isEqualTo(2)
        assertThat(ping.payload2).isEqualTo(3)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                final PingResponse pingResponse = searchEngineClient.ping();
                writeJsonResponse(pingResponse.getStatus() == 0 ? HttpServletResponse.SC_OK : HttpServletResponse.SC_SERVICE_UNAVAILABLE,
                        "\"data\":" + pingResponse.getMessage());
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a ping request.", e);
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server_test.go

    		"healthz":                         {url: "/healthz/", bucket: "healthz"},
    		"healthz log sub":                 {url: "/healthz/log", bucket: "healthz"},
    		"healthz ping":                    {url: "/healthz/ping", bucket: "healthz"},
    		"healthz sync loop":               {url: "/healthz/syncloop", bucket: "healthz"},
    		"logs":                            {url: "/logs/", bucket: "logs"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. docs/bucket/notifications/README.md

    ```
    mc cp myphoto.jpg myminio/images
    ```
    
    In the previous terminal, you will now see the operation that MinIO performs on Redis:
    
    ```
    127.0.0.1:6379> monitor
    OK
    1490686879.650649 [0 172.17.0.1:44710] "PING"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    logger.error(() -> "Failed to flush " + stream(indices).get(stream -> stream.collect(Collectors.joining(", "))), e);
                }
            });
    
        }
    
        public PingResponse ping() {
            try {
                final ClusterHealthResponse response =
                        client.admin().cluster().prepareHealth().execute().actionGet(ComponentUtil.getFessConfig().getIndexHealthTimeout());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  10. src/net/http/client_test.go

    func testTransportBodyReadError(t *testing.T, mode testMode) {
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		if r.URL.Path == "/ping" {
    			return
    		}
    		buf := make([]byte, 1)
    		n, err := r.Body.Read(buf)
    		w.Header().Set("X-Body-Read", fmt.Sprintf("%v, %v", n, err))
    	})).ts
    	c := ts.Client()
    	tr := c.Transport.(*Transport)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top