Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for IGNORE (7.66 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

                if (partCount == 0) throw ProtocolException("expected at least 1 part")
                noMoreParts = true
                return null
              }
    
              2, 3 -> {
                // " " or "\t" Ignore whitespace and keep looking.
                whitespace = true
                continue@afterBoundaryLoop
              }
    
              -1 -> throw ProtocolException("unexpected characters after boundary")
            }
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

          throw IOException("FRAME_SIZE_ERROR: $length")
        }
        val type = source.readByte() and 0xff
        val flags = source.readByte() and 0xff
        val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit.
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
          logger.fine(frameLog(true, streamId, length, type, flags))
        }
    
        if (requireSettings && type != TYPE_SETTINGS) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_1x.md

    ## Version 1.1.0
    
    _2013-06-15_
    
     * Fix: Connection reuse was broken for most HTTPS connections due to a bug in
       the way the hostname verifier was selected.
     * Fix: Locking bug in SpdyConnection.
     * Fix: Ignore null header values (for compatibility with HttpURLConnection).
     * Add URLStreamHandlerFactory support so that `URL.openConnection()` uses
       OkHttp.
     * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      } catch (e: AssertionError) {
        throw e
      } catch (rethrown: RuntimeException) {
        if (rethrown.message == "bio == null") {
          // Conscrypt in Android 10 and 11 may throw closing an SSLSocket. This is safe to ignore.
          // https://issuetracker.google.com/issues/177450597
          return
        }
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /** Closes this, ignoring any checked exceptions.  */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        peer.play()
    
        // Play it back.
        val connection =
          Http2Connection.Builder(true, TaskRunner.INSTANCE)
            .socket(peer.openSocket())
            .pushObserver(Http2ConnectionTest.IGNORE)
            .listener(realConnection)
            .build()
        connection.start(sendConnectionPreface = false)
    
        // verify the peer received the ACK
        val ackFrame = peer.takeFrame()
    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)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

          return if (param != null) {
            message + "\n" + param
          } else {
            message
          }
        }
      }
    
      private fun quietDebug(message: JsseDebugMessage) {
        if (message.message.startsWith("Ignore")) {
          return
        }
    
        when (message.type) {
          JsseDebugMessage.Type.Setup, JsseDebugMessage.Type.Encrypted, JsseDebugMessage.Type.Plaintext -> {
            println(message.message + " (skipped output)")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cookie.kt

                  // Ignore this attribute, it isn't recognizable as a date.
                }
              }
              attributeName.equals("max-age", ignoreCase = true) -> {
                try {
                  deltaSeconds = parseMaxAge(attributeValue)
                  persistent = true
                } catch (_: NumberFormatException) {
                  // Ignore this attribute, it isn't recognizable as a max age.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

    import okhttp3.CallEvent.SecureConnectEnd
    import okhttp3.CallEvent.SecureConnectStart
    import org.junit.jupiter.api.Assertions.fail
    
    open class RecordingEventListener(
      /**
       * An override to ignore the normal order that is enforced.
       * EventListeners added by Interceptors will not see all events.
       */
      private val enforceOrder: Boolean = true,
    ) : EventListener() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9K bytes
    - Viewed (1)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * certificate is issued to `example.com` and the request is to `localhost`, the connection will
         * fail. Use a custom [HostnameVerifier] to ignore such problems.
         *
         * Other TLS features are still used but provide no security benefits in absence of the above
         * gaps. For example, an insecure TLS connection is capable of negotiating HTTP/2 with ALPN and
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

          clientTestRule.newClientBuilder()
            .connectionPool(ConnectionPool(0, 10, TimeUnit.MILLISECONDS))
            .build()
        val request = Request(server.url("/"))
        client.newCall(request).execute() // Ignore the response so it gets leaked then GC'd.
        awaitGarbageCollection()
        val message = testLogHandler.take()
        assertThat(message).contains(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top