Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ack (0.01 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver.go

    				log.Errorf("failed to handle conn: %v", err)
    			}
    		}()
    	}
    }
    
    // ZDS protocol is very simple, for every message sent, and ack is sent.
    // the ack only has temporal correlation (i.e. it is the first and only ack msg after the message was sent)
    // All this to say, that we want to make sure that message to ztunnel are sent from a single goroutine
    // so we don't mix messages and acks.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

            .build()
        connection.start(sendConnectionPreface = false)
    
        // verify the peer received the ACK
        val ackFrame = peer.takeFrame()
        assertThat(ackFrame.type).isEqualTo(Http2.TYPE_SETTINGS)
        assertThat(ackFrame.streamId).isEqualTo(0)
        assertThat(ackFrame.ack).isTrue()
    
        taskFaker.runTasks()
    
        return connection
      }
    
      private fun updateMaxConcurrentStreams(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    			// the TCP fast open connect. This feature is supported
    			// since Linux 4.11.
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_FASTOPEN_CONNECT, 1)
    
    			// Enable TCP quick ACK, John Nagle says
    			// "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know."
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			/// Enable keep-alive
    			{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. internal/event/target/amqp.go

    			Body:         data,
    		}); err != nil {
    		return err
    	}
    
    	// check for publisher confirms only if its enabled
    	if target.args.PublisherConfirms {
    		confirmed := <-confirms
    		if !confirmed.Ack {
    			return fmt.Errorf("failed delivery of delivery tag: %d", confirmed.DeliveryTag)
    		}
    	}
    
    	return nil
    }
    
    // Save - saves the events to the store which will be replayed when the amqp connection is active.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. internal/grid/muxclient.go

    func (m *muxClient) error(err RemoteErr) {
    	if debugPrint {
    		fmt.Printf("mux %d: got remote err:%v\n", m.MuxID, string(err))
    	}
    	m.addResponse(Response{Err: &err})
    }
    
    func (m *muxClient) ack(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    	}
    	if m.acked || m.outBlock == nil {
    		return
    	}
    	available := cap(m.outBlock)
    	for i := 0; i < available; i++ {
    		m.outBlock <- struct{}{}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

      /**
       * Acknowledge: A communication control character transmitted by a receiver as an affirmative
       * response to a sender.
       *
       * @since 8.0
       */
      public static final byte ACK = 6;
    
      /**
       * Bell ('\a'): A character for use when there is a need to call for human attention. It may
       * control alarm or attention devices.
       *
       * @since 8.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Ascii.java

      /**
       * Acknowledge: A communication control character transmitted by a receiver as an affirmative
       * response to a sender.
       *
       * @since 8.0
       */
      public static final byte ACK = 6;
    
      /**
       * Bell ('\a'): A character for use when there is a need to call for human attention. It may
       * control alarm or attention devices.
       *
       * @since 8.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    			gridLogIf(ctx, c.queueMsg(message{Op: OpDisconnectClientMux, MuxID: m.MuxID}, nil))
    		}
    		return
    	}
    	if debugPrint {
    		fmt.Println(c.Local, "Mux", m.MuxID, "Acknowledged")
    	}
    	v.ack(m.Seq)
    }
    
    func (c *Connection) handleRequest(ctx context.Context, m message, subID *subHandlerID) {
    	if !m.Handler.valid() {
    		gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Invalid Handler"}))
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    </pre>
    
    <p>
    A function literal can be assigned to a variable or invoked directly.
    </p>
    
    <pre>
    f := func(x, y int) int { return x + y }
    func(ch chan int) { ch &lt;- ACK }(replyChan)
    </pre>
    
    <p>
    Function literals are <i>closures</i>: they may refer to variables
    defined in a surrounding function. Those variables are then shared between
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top