Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ack (0.03 sec)

  1. pkg/zdsapi/zds.proto

    message SnapshotSent {
    }
    
    // Ztunnel ack message. If error is not empty, this is an error message.
    message Ack {
      string error = 1;
    }
    
    /*
    Protocol details:
    on new connection from ztunnel to CNI, the CNI agent
    - will send all the existing payloads (that it has in its cache) to the ztunnel using AddWorkload message.
    - the ztunnel will send an ack for each payload (which the CNI will wait for before sending the next one).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver_test.go

    }
    
    func sendAck(c *net.UnixConn) {
    	ack := &zdsapi.WorkloadResponse{
    		Payload: &zdsapi.WorkloadResponse_Ack{
    			Ack: &zdsapi.Ack{},
    		},
    	}
    	data, err := proto.Marshal(ack)
    	if err != nil {
    		panic(err)
    	}
    	err = c.SetWriteDeadline(time.Now().Add(time.Second))
    	if err != nil {
    		panic(err)
    	}
    	c.Write(data)
    }
    
    func sendHello(c *net.UnixConn) {
    	ack := &zdsapi.ZdsHello{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

          .isEqualTo("<< 0x00000000    15 SETTINGS      ")
        assertThat(frameLog(false, 0, 0, TYPE_SETTINGS, FLAG_ACK))
          .isEqualTo(">> 0x00000000     0 SETTINGS      ACK")
        assertThat(frameLog(true, 0, 0, TYPE_SETTINGS, FLAG_ACK))
          .isEqualTo("<< 0x00000000     0 SETTINGS      ACK")
        assertThat(frameLog(true, 3, 22, TYPE_HEADERS, FLAG_END_HEADERS))
          .isEqualTo("<< 0x00000003    22 HEADERS       END_HEADERS")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.streamId = streamId
          this.errorCode = errorCode
        }
    
        override fun ping(
          ack: Boolean,
          payload1: Int,
          payload2: Int,
        ) {
          check(type == -1)
          type = Http2.TYPE_PING
          this.ack = ack
          this.payload1 = payload1
          this.payload2 = payload2
        }
    
        override fun goAway(
          lastGoodStreamId: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TestKitIntegrationTest.kt

                        project.extensions.create("test", TestExtension::class)
                    }
                }
    
                open class TestExtension {
                    fun ack() = println("Ack!")
                }
                """
            )
    
            withFile(
                "src/test/kotlin/plugin/TestPluginTest.kt",
                """
    
                package plugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 10:30:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pkg/xds/server_test.go

    			response: true,
    		},
    		{
    			name: "ack",
    			proxy: &TestProxy{
    				WatchedResources: map[string]*WatchedResource{
    					model.ClusterType: {
    						NonceSent: "nonce",
    					},
    				},
    			},
    			request: &discovery.DiscoveryRequest{
    				TypeUrl:       model.ClusterType,
    				VersionInfo:   "v1",
    				ResponseNonce: "nonce",
    			},
    			response: false,
    		},
    		{
    			name: "ack forced",
    			proxy: &TestProxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. internal/grid/muxserver.go

    	}
    	// Acknowledge Mux created.
    	// Send async.
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		var ack message
    		ack.Op = OpAckMux
    		ack.Flags = m.BaseFlags
    		ack.MuxID = m.ID
    		m.send(ack)
    		if debugPrint {
    			fmt.Println("connected stream mux:", ack.MuxID)
    		}
    	}()
    
    	// Data inbound to the handler
    	var handlerIn chan []byte
    	if inboundCap > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. pkg/kube/krt/internal.go

    	if ok {
    		return Key[O](keyFunc(ac.Name, ac.Namespace)), true
    	}
    	arn, ok := any(a).(ResourceNamer)
    	if ok {
    		return Key[O](arn.ResourceName()), true
    	}
    	ack := GetApplyConfigKey(a)
    	if ack != nil {
    		return *ack, true
    	}
    	return "", false
    }
    
    // getLabels returns the labels for an object, if possible.
    // Warning: this will panic if the labels is not available.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. pkg/istio-agent/xds_proxy_delta_test.go

    		},
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Wait until nonce was updated, which represents an ACK/NACK has been received.
    	retry.UntilSuccessOrFail(t, func() error {
    		if proxy.ecdsLastNonce.Load() == n1.Load() {
    			return errors.New("last process nonce has not been updated. no ecds ack/nack is received yet")
    		}
    		return nil
    	}, retry.Timeout(time.Second), retry.Delay(time.Millisecond))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pilot/pkg/xds/eventhandler.go

    // EventHandler allows for generic monitoring of xDS ACKS and disconnects, for the purpose of tracking
    // Config distribution through the mesh.
    type DistributionStatusCache interface {
    	// RegisterEvent notifies the implementer of an xDS ACK, and must be non-blocking
    	RegisterEvent(conID string, eventType EventType, nonce string)
    	RegisterDisconnect(s string, types sets.Set[EventType])
    	QueryLastNonce(conID string, eventType EventType) (noncePrefix string)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top