Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 133 for connected (1.14 sec)

  1. internal/grid/manager.go

    			writeErr(fmt.Errorf("unexpected connect op: %v", message.Op))
    			return
    		}
    		var cReq connectReq
    		_, err = cReq.UnmarshalMsg(message.Payload)
    		if err != nil {
    			writeErr(fmt.Errorf("error parsing connectReq: %w", err))
    			return
    		}
    		remote := m.targets[cReq.Host]
    		if remote == nil {
    			writeErr(fmt.Errorf("unknown incoming host: %v", cReq.Host))
    			return
    		}
    		if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocksProxy.kt

            fromSink.writeByte(ADDRESS_TYPE_IPV4)
            fromSink.write(localAddress)
            fromSink.writeShort(toSocket.localPort)
            fromSink.emit()
            logger.log(Level.INFO, "SocksProxy connected $fromAddress to $toAddress")
    
            // Copy sources to sinks in both directions.
            val toSource = toSocket.source().buffer()
            val toSink = toSocket.sink().buffer()
            openSockets.add(toSocket)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. internal/event/targetlist_test.go

    func (target ExampleTarget) Close() error {
    	if target.closeErr {
    		return errors.New("close error")
    	}
    
    	return nil
    }
    
    func (target ExampleTarget) IsActive() (bool, error) {
    	return false, errors.New("not connected to target server/service")
    }
    
    // FlushQueueStore - No-Op. Added for interface compatibility
    func (target ExampleTarget) FlushQueueStore() error {
    	return nil
    }
    
    func TestTargetListAdd(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. internal/config/lambda/target/webhook.go

    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    // errNotConnected - indicates that the target connection is not active.
    var errNotConnected = errors.New("not connected to target server/service")
    
    func (target *WebhookTarget) isActive() (bool, error) {
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 17 20:02:26 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. architecture/security/istio-agent.md

       while also keeping file watchers on them. Envoy proxy then connects to istio-agent's SDS Server through the defined socket path and gets the cryptographic materials of the certificate files served by the SDS API.
    * If istio-agent does not find either the socket, or the certificate files in their respective paths it will start its own SDS Server using a `caClient` to connect to istiod or an external CA, to fetch cryptographic materials (See Default CA Flow).
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 22 16:45:50 GMT 2023
    - 7.2K bytes
    - Viewed (1)
  6. cni/pkg/nodeagent/ztunnelserver_test.go

    	mt := monitortest.New(t)
    	setupLogging()
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	fixture := connect(ctx)
    	ztunClient := fixture.ztunClient
    	uid := fixture.uid
    
    	m, fds := readRequest(t, ztunClient)
    	// we got am essage from ztun, so it should have observed us being connected
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. internal/grid/muxserver.go

    	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 {
    		m.inbound = make(chan []byte, inboundCap)
    		handlerIn = make(chan []byte, 1)
    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)
  8. docs/en/docs/advanced/events.md

        So, we declare the event handler function with standard `def` instead of `async def`.
    
    ### `startup` and `shutdown` together
    
    There's a high chance that the logic for your *startup* and *shutdown* is connected, you might want to start something and then finish it, acquire a resource and then release it, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. internal/grid/msg.go

    const (
    	// OpConnect is a connect request.
    	OpConnect Op = iota + 1
    
    	// OpConnectResponse is a response to a connect request.
    	OpConnectResponse
    
    	// OpPing is a ping request.
    	// If a mux id is specified that mux is pinged.
    	// Clients send ping requests.
    	OpPing
    
    	// OpPong is a OpPing response returned by the server.
    	OpPong
    
    	// OpConnectMux will connect a new mux with optional payload.
    	OpConnectMux
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

        response.body.close()
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "ConnectionReleased",
        )
        val event = listener.removeUpToEvent(ConnectionEvent.ConnectEnd::class.java)
        assertThat(event.connection.route().proxy).isEqualTo(proxy)
      }
    
      private fun enableTls() {
        client =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top