Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for goAway (0.04 sec)

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

        assertThat(sendGoAway(expectedStreamId, expectedError, EMPTY_BYTE_ARRAY))
          .isEqualTo(frame)
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun goAway(
              lastGoodStreamId: Int,
              errorCode: ErrorCode,
              debugData: ByteString,
            ) {
              assertThat(lastGoodStreamId).isEqualTo(expectedStreamId)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        var debugData = ByteString.EMPTY
        if (opaqueDataLength > 0) { // Must read debug data in order to not corrupt the connection.
          debugData = source.readByteString(opaqueDataLength.toLong())
        }
        handler.goAway(lastStreamId, errorCode, debugData)
      }
    
      /** Unlike other `readXxx()` functions, this one must log the frame before returning. */
      @Throws(IOException::class)
      private fun readWindowUpdate(
        handler: Handler,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

       * @param errorCode reason for closing the connection.
       * @param debugData only valid for HTTP/2; opaque debug data to send.
       */
      @Throws(IOException::class)
      fun goAway(
        lastGoodStreamId: Int,
        errorCode: ErrorCode,
        debugData: ByteArray,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            lastGoodStreamId = this.lastGoodStreamId
          }
          // TODO: propagate exception message into debugData.
          // TODO: configure a timeout on the reader so that it doesn’t block forever.
          writer.goAway(lastGoodStreamId, statusCode, EMPTY_BYTE_ARRAY)
        }
      }
    
      /**
       * Closes this connection. This cancels all open streams and unanswered pings. It closes the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. go.mod

    	github.com/go-openapi/strfmt v0.23.0 // indirect
    	github.com/go-openapi/swag v0.23.0 // indirect
    	github.com/go-openapi/validate v0.24.0 // indirect
    	github.com/gobwas/httphead v0.1.0 // indirect
    	github.com/gobwas/pool v0.2.1 // indirect
    	github.com/goccy/go-json v0.10.3 // indirect
    	github.com/gogo/protobuf v1.3.2 // indirect
    	github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. internal/grid/manager.go

    package grid
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"runtime/debug"
    	"strings"
    	"time"
    
    	"github.com/gobwas/ws"
    	"github.com/gobwas/ws/wsutil"
    	"github.com/google/uuid"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/mux"
    )
    
    const (
    	// apiVersion is a major version of the entire api.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. go.mod

    	github.com/go-openapi/jsonpointer v0.21.0 // indirect
    	github.com/go-openapi/jsonreference v0.21.0 // indirect
    	github.com/go-openapi/swag v0.23.0 // indirect
    	github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
    	github.com/gobwas/glob v0.2.3 // indirect
    	github.com/goccy/go-json v0.10.3 // indirect
    	github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
    	github.com/google/btree v1.1.2 // indirect
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    	"context"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	"math/rand"
    	"net"
    	"runtime"
    	"runtime/debug"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/gobwas/ws"
    	"github.com/gobwas/ws/wsutil"
    	"github.com/google/uuid"
    	"github.com/minio/madmin-go/v3"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/pubsub"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top