Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RST_STREAM (0.19 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().headers(false, 3, headerEntries("a", "apple"))
        peer.sendFrame().data(false, 3, data(1024), 1024)
        peer.acceptFrame() // RST_STREAM
        peer.sendFrame().data(true, 3, data(1024), 1024)
        peer.acceptFrame() // RST_STREAM
        peer.play()
        val connection = connect(peer)
        val stream1 = connection.newStream(headerEntries("b", "bark"), false)
        val source = stream1.getSource()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    	// it waits for the frame to be written.
    	//
    	// As an exception to this rule, we allow sending RST_STREAM after close.
    	// This allows us to immediately reject new streams without tracking any
    	// state for those streams (except for the queued RST_STREAM frame). This
    	// may result in duplicate RST_STREAMs in some cases, but the client should
    	// ignore those.
    	if wr.StreamID() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          check(hasResponseHeaders || isLocallyInitiated) {
            "reply before requesting the sink"
          }
        }
        return sink
      }
    
      /**
       * Abnormally terminate this stream. This blocks until the `RST_STREAM` frame has been
       * transmitted.
       */
      @Throws(IOException::class)
      fun close(
        rstStatusCode: ErrorCode,
        errorException: IOException?,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

        when OkHttp retrieves ALPN state on a closed connection.
    
    
    ## Version 4.9.3
    
    _2021-11-21_
    
     *  Fix: Don't fail HTTP/2 responses if they complete before a `RST_STREAM` is sent.
    
    
    ## Version 4.9.2
    
    _2021-09-30_
    
     *  Fix: Don't include potentially-sensitive header values in `Headers.toString()` or exceptions.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. src/net/http/server.go

    // that the effect of the panic was isolated to the active request.
    // It recovers the panic, logs a stack trace to the server error log,
    // and either closes the network connection or sends an HTTP/2
    // RST_STREAM, depending on the HTTP protocol. To abort a handler so
    // the client sees an interrupted response but the server doesn't log
    // an error, panic with the value [ErrAbortHandler].
    type Handler interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top