Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 167 for peter (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      }
    
      private fun connectHttp2(
        peer: MockHttp2Peer,
        realConnection: RealConnection,
        maxConcurrentStreams: Int,
      ): Http2Connection {
        // Write the mocking script.
        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	var (
    		prevPeerInfo, pi madmin.PeerInfo
    	)
    	if peer.DeploymentID != "" {
    		pi = c.state.Peers[peer.DeploymentID]
    		prevPeerInfo = pi
    		if !peer.SyncState.Empty() { // update replication to peer to be sync/async
    			pi.SyncState = peer.SyncState
    			successMsg = fmt.Sprintf("%s\n- sync state %s for peer %s", successMsg, peer.SyncState, peer.Name)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. cmd/listen-notification-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	if bucketName != "" {
    		values.Set(peerRESTListenBucket, bucketName)
    	}
    	for _, peer := range peers {
    		if peer == nil {
    			continue
    		}
    		peer.Listen(ctx, mergeCh, values)
    	}
    
    	var (
    		emptyEventTicker <-chan time.Time
    		keepAliveTicker  <-chan time.Time
    	)
    
    	if p := values.Get("ping"); p != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      fun writeTimeout(): Timeout = writeTimeout
    
      /** Returns a source that reads data from the peer. */
      fun getSource(): Source = source
    
      /**
       * Returns a sink that can be used to write data to the peer.
       *
       * @throws IllegalStateException if this stream was initiated by the peer and a [writeHeaders] has
       *     not yet been sent.
       */
      fun getSink(): Sink {
        this.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/Handshake.kt

      /** Returns a possibly-empty list of certificates that identify this peer. */
      @get:JvmName("localCertificates") val localCertificates: List<Certificate>,
      // Delayed provider of peerCertificates, to allow lazy cleaning.
      peerCertificatesFn: () -> List<Certificate>,
    ) {
      /** Returns a possibly-empty list of certificates that identify the remote peer. */
      @get:JvmName("peerCertificates")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

       * dependency on those interfaces.
       */
      private class AlpnProvider(
        /** This peer's supported protocols. */
        private val protocols: List<String>,
      ) : InvocationHandler {
        /** Set when remote peer notifies ALPN is unsupported. */
        var unsupported: Boolean = false
    
        /** The protocol the server selected. */
        var selected: String? = null
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

     *    from the peer.
     *
     * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer
     * chooses to short-circuit the graceful shutdown process:
     *
     *  * **Canceled:** the web socket connection failed. Messages that were successfully enqueued by
     *    either peer may not have been transmitted to the other.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        // ConnectionPool.
        taskRunner.newQueue().execute(name = connectionName, block = readerRunnable)
      }
    
      /** Merges [settings] into this peer's settings and sends them to the remote peer. */
      @Throws(IOException::class)
      fun setSettings(settings: Settings) {
        writer.withLock {
          this.withLock {
            if (isShutdown) {
              throw ConnectionShutdownException()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  9. cmd/site-replication-utils.go

    	}
    	if !info.Enabled {
    		return nil
    	}
    	for _, peer := range info.Sites {
    		if peer.DeploymentID == globalDeploymentID() {
    			continue
    		}
    		rs, err := loadSiteResyncMetadata(ctx, objAPI, peer.DeploymentID)
    		if err != nil {
    			return err
    		}
    		sm.Lock()
    		if _, ok := sm.peerResyncMap[peer.DeploymentID]; !ok {
    			sm.peerResyncMap[peer.DeploymentID] = resyncState{resyncID: rs.ResyncID, LastSaved: time.Time{}}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
  10. cmd/endpoint.go

    }
    
    // FindGridHostsFromPeerStr will return a matching peer from provided peer (as string)
    func (l EndpointServerPools) FindGridHostsFromPeerStr(peer string) (peerGrid string) {
    	if peer == "" {
    		return ""
    	}
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				continue
    			}
    
    			if endpoint.Host == peer {
    				return endpoint.GridHost()
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top