Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for doSsl (0.02 sec)

  1. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        val serverSocket = ServerSocket(8888)
        serverSocket.reuseAddress = true
        while (true) {
          var socket: Socket? = null
          try {
            socket = serverSocket.accept()
            val sslSocket = doSsl(socket)
            val protocolString = Platform.get().getSelectedProtocol(sslSocket)
            val protocol = if (protocolString != null) get(protocolString) else null
            if (protocol != Protocol.HTTP_2) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top