Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for numblocks (0.14 sec)

  1. internal/grid/muxclient.go

    	if requests == nil {
    		go m.handleOneWayStream(responseCh, responses)
    		return &Stream{responses: responseCh, Requests: nil, ctx: m.ctx, cancel: m.cancelFn, muxID: m.MuxID}, nil
    	}
    
    	// Deliver responses and send unblocks back to the server.
    	go m.handleTwowayResponses(responseCh, responses)
    	go m.handleTwowayRequests(responses, requests)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    		}
    		// We can expect to receive unblocks for closed muxes
    		return
    	}
    	v.unblockSend(m.Seq)
    }
    
    func (c *Connection) handleUnblockSrvMux(m message) {
    	if m.Payload != nil {
    		PutByteBuffer(m.Payload)
    	}
    	m.Payload = nil
    	if v, ok := c.inStream.Load(m.MuxID); ok {
    		v.unblockSend(m.Seq)
    		return
    	}
    	// We can expect to receive unblocks for closed muxes
    	if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. internal/grid/muxserver.go

    	if msg.DeadlineMS == 0 || msg.DeadlineMS > uint32(lastPingThreshold/time.Millisecond) {
    		go func() {
    			wg.Wait()
    			m.checkRemoteAlive()
    		}()
    	}
    	return &m
    }
    
    // handleInbound sends unblocks when we have delivered the message to the handler.
    func (m *muxServer) handleInbound(c *Connection, inbound <-chan []byte, handlerIn chan<- []byte) {
    	for in := range inbound {
    		handlerIn <- in
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top