Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

      fun close(
        rstStatusCode: ErrorCode,
        errorException: IOException?,
      ) {
        if (!closeInternal(rstStatusCode, errorException)) {
          return // Already closed.
        }
        connection.writeSynReset(id, rstStatusCode)
      }
    
      override fun cancel() {
        closeLater(ErrorCode.CANCEL)
      }
    
      /**
       * Abnormally terminate this stream. This enqueues a `RST_STREAM` frame and returns immediately.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top