Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 112 for peerS3 (0.22 seconds)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Response
    
    abstract class EventSourceListener {
      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      open fun onEvent(
        eventSource: EventSource,
        id: String?,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

          for (Certificate certificate : chain.connection().handshake().peerCertificates()) {
            String pin = CertificatePinner.pin(certificate);
            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
          return chain.proceed(chain.request());
        }
      };
    
      private final OkHttpClient client = new OkHttpClient.Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private var enqueuedClose = false
    
      /** The close code from the peer, or -1 if this web socket has not yet read a close frame. */
      private var receivedCloseCode = -1
    
      /** The close reason from the peer, or null if this web socket has not yet read a close frame. */
      private var receivedCloseReason: String? = null
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  4. cmd/consolelogger.go

    	if err != nil {
    		logger.FatalIf(err, "Unable to start console logging subsystem")
    	}
    
    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class ConnectionPoolTest {
      private val routePlanner = FakeRoutePlanner()
      private val factory = routePlanner.factory
      private val peer = MockHttp2Peer()
    
      /** The fake task runner prevents the cleanup runnable from being started.  */
      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

        outFrames.add(OutFrame(frameCount++, bytesOut.size, false))
        return writer
      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
       * close the socket as soon as this frame has been written; otherwise the peer stays open until
       * explicitly closed.
       */
      fun truncateLastFrame(length: Int): Http2Writer {
        val lastFrame = outFrames.removeAt(outFrames.size - 1)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      @Suppress("UNCHECKED_CAST")
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate> =
        if (certificates.isEmpty()) {
          throw SSLPeerUnverifiedException("peer not authenticated")
        } else {
          certificates as Array<Certificate>
        }
    
      @Throws(
        SSLPeerUnverifiedException::class,
      )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. docs/site-replication/run-multi-site-minio-idp.sh

    site_enabled=$(./mc admin replicate info minio1)
    site_enabled_peer=$(./mc admin replicate info minio10)
    
    [[ $site_enabled =~ "is not enabled" ]] && {
    	echo "expected both peers to have same information"
    	exit_1
    }
    
    [[ $site_enabled_peer =~ "is not enabled" ]] && {
    	echo "expected both peers to have same information"
    	exit_1
    }
    
    ./mc admin user add minio1 foobar foo12345
    
    ## add foobar-g group with foobar
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 12.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

    object Http2 {
      @JvmField
      val CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".encodeUtf8()
    
      /** The initial max frame size, applied independently writing to, or reading from the peer. */
      const val INITIAL_MAX_FRAME_SIZE = 0x4000 // 16384
    
      const val TYPE_DATA = 0x0
      const val TYPE_HEADERS = 0x1
      const val TYPE_PRIORITY = 0x2
      const val TYPE_RST_STREAM = 0x3
      const val TYPE_SETTINGS = 0x4
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA negotiation response parameters.
     *
     * Contains the negotiated parameters returned by the RDMA peer
     * during connection establishment.
     */
    public class RdmaNegotiateResponse {
    
        private int status;
        private int selectedVersion;
        private int creditsGranted;
        private int maxReceiveSize;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top