Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 139 for pings (0.11 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.advanceUntil(ns(500L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
    
        // After 1000ms the client will attempt a ping 2, but we don't process it. That'll cause the
        // client to fail at 1500ms when it's time to send ping 3 because pong 2 hasn't been received.
        taskFaker.advanceUntil(ns(1000L))
        taskFaker.advanceUntil(ns(1500L))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    	TLS *tls.Config
    	// Proxier is a proxy function invoked on each request. Optional.
    	Proxier func(*http.Request) (*url.URL, error)
    	// PingPeriod is a period for sending SPDY Pings on the connection.
    	// Optional.
    	PingPeriod time.Duration
    	// UpgradeTransport is a subtitute transport used for dialing. If set,
    	// this field will be used instead of "TLS" and "Proxier" for connection creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. prow/config/calico.yaml

                              type: integer
                            type:
                              description: Match on a specific ICMP type.  For example
                                a value of 8 refers to ICMP Echo Request (i.e. pings).
                              type: integer
                          type: object
                        ipVersion:
                          description: IPVersion is an optional field that restricts the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. docs/changelogs/changelog_4x.md

    ## Version 4.3.0
    
    _2019-12-31_
    
     *  Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact
        the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after
        a stream timeout to determine whether the connection should remain eligible for pooling.
    
     *  Fix: Don't call `EventListener.responseHeadersStart()` or `responseBodyStart()` until bytes have
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    		return nil
    	})
    	if !errors.Is(err, context.Canceled) {
    		t.Error("expected context.Canceled, got", err)
    	}
    }
    
    // testServerStreamNoPing will test if server and client handle no pings.
    func testServerStreamNoPing(t *testing.T, local, remote *Manager, inCap int) {
    	defer testlogger.T.SetErrorTB(t)()
    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcs/vcs.go

    				os.Stderr.Write(ee.Stderr)
    			} else {
    				fmt.Fprintln(os.Stderr, err.Error())
    			}
    		}
    	}
    	return out, err
    }
    
    // Ping pings to determine scheme to use.
    func (v *Cmd) Ping(scheme, repo string) error {
    	// Run the ping command in an arbitrary working directory,
    	// but don't let the current working directory pollute the results.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  9. src/net/http/h2_bundle.go

    func (sc *http2serverConn) processPing(f *http2PingFrame) error {
    	sc.serveG.check()
    	if f.IsAck() {
    		// 6.7 PING: " An endpoint MUST NOT respond to PING frames
    		// containing this flag."
    		return nil
    	}
    	if f.StreamID != 0 {
    		// "PING frames are not associated with any individual
    		// stream. If a PING frame is received with a stream
    		// identifier field value other than 0x0, the recipient MUST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  10. 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)
Back to top