Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for writeSynReset (0.32 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        streamId: Int,
        errorCode: ErrorCode,
      ) {
        writerQueue.execute("$connectionName[$streamId] writeSynReset") {
          try {
            writeSynReset(streamId, errorCode)
          } catch (e: IOException) {
            failConnection(e)
          }
        }
      }
    
      @Throws(IOException::class)
      internal fun writeSynReset(
        streamId: Int,
        statusCode: ErrorCode,
      ) {
        writer.rstStream(streamId, statusCode)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      fun close(
        rstStatusCode: ErrorCode,
        errorException: IOException?,
      ) {
        if (!closeInternal(rstStatusCode, errorException)) {
          return // Already closed.
        }
        connection.writeSynReset(id, rstStatusCode)
      }
    
      /**
       * Abnormally terminate this stream. This enqueues a `RST_STREAM` frame and returns immediately.
       */
      fun closeLater(errorCode: ErrorCode) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top