Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 107 for compression (0.24 sec)

  1. internal/config/compress/legacy.go

    	EnvCompressMimeTypesLegacy2      = "MINIO_COMPRESS_MIME_TYPES"
    )
    
    // SetCompressionConfig - One time migration code needed, for migrating from older config to new for Compression.
    func SetCompressionConfig(s config.Config, cfg Config) {
    	if !cfg.Enabled {
    		// No need to save disabled settings in new config.
    		return
    	}
    	s[config.CompressionSubSys][config.Default] = config.KVS{
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  2. cmd/globals.go

    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    	// Is compression enabled?
    	globalCompressConfigMu sync.Mutex
    	globalCompressConfig   compress.Config
    
    	// Some standard object extensions which we strictly dis-allow for compression.
    	standardExcludeCompressExtensions = []string{".gz", ".bz2", ".rar", ".zip", ".7z", ".xz", ".mp4", ".mkv", ".mov", ".jpg", ".png", ".gif"}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      private fun skipName(source: Buffer) {
        // 0 - 63 bytes
        var length = source.readByte().toInt()
    
        if (length < 0) {
          // compressed name pointer, first two bits are 1
          // drop second byte of compression offset
          source.skip(1)
        } else {
          while (length > 0) {
            // skip each part of the domain name
            source.skip(length.toLong())
            length = source.readByte().toInt()
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. internal/s3select/errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidCompressionFormat(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidCompressionFormat",
    		message:    "The file is not in a supported compression format. GZIP, BZIP2, ZSTD, LZ4, S2 and SNAPPY are supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidCompression(err error, t CompressionType) *s3Error {
    	return &s3Error{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

    Content-Type: text/plain
    Content-Length: 1759
    Connection: keep-alive
    ```
    
    The network requests also contain more data, such as the `Accept-Encoding: gzip` header added by OkHttp to advertise support for response compression. The network interceptor's `Chain` has a non-null `Connection` that can be used to interrogate the IP address and TLS configuration that were used to connect to the webserver.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    		parsedType = noneType
    	}
    
    	switch parsedType {
    	case noneType, gzipType, bzip2Type, snappyType, s2Type, zstdType, lz4Type:
    	default:
    		return errInvalidCompressionFormat(fmt.Errorf("invalid compression format '%v'", s))
    	}
    
    	*c = parsedType
    	return nil
    }
    
    // InputSerialization - represents elements inside <InputSerialization/> in request XML.
    type InputSerialization struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  7. lib/time/mkzip.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // Mkzip writes a zoneinfo.zip with the content of the current directory
    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. internal/http/transports.go

    	// 		// if a response to Ping is not received.
    	// 		trhttp2.PingTimeout = dialTimeout
    	// 		// DisableCompression, if true, prevents the Transport from
    	// 		// requesting compression with an "Accept-Encoding: gzip"
    	// 		trhttp2.DisableCompression = true
    	// 	}
    	// }
    
    	return tr
    }
    
    // NewInternodeHTTPTransport returns transport for internode MinIO connections.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

    class MessageDeflater(
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private val deflatedBytes = Buffer()
    
      private val deflater =
        Deflater(
          Deflater.DEFAULT_COMPRESSION,
          // nowrap (omits zlib header):
          true,
        )
    
      private val deflaterSink = DeflaterSink(deflatedBytes, deflater)
    
      /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

       * Variable-length quantity special cases strings which are longer than 127 bytes.  Values such as
       * cookies can be 4KiB, and should be possible to send.
       *
       *  http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-5.2
       */
      @Test
      fun largeHeaderValue() {
        val value = CharArray(4096)
        Arrays.fill(value, '!')
        val headerBlock = headerEntries("cookie", String(value))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
Back to top