Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readTrailers (0.07 sec)

  1. cmd/streaming-v4-unsigned.go

    		cr.err = err
    		return n, cr.err
    	}
    
    	cr.offset = copy(buf, cr.buffer)
    	n += cr.offset
    	return n, err
    }
    
    // readTrailers will read all trailers and populate cr.trailers with actual values.
    func (cr *s3UnsignedChunkedReader) readTrailers() error {
    	var valueBuffer bytes.Buffer
    	// Read value
    	for {
    		v, err := cr.reader.ReadByte()
    		if err != nil {
    			if err == io.EOF {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    		}
    		cr.err = errMalformedEncoding
    		return n, cr.err
    	}
    
    	cr.offset = copy(buf, cr.buffer)
    	n += cr.offset
    	return n, err
    }
    
    // readTrailers will read all trailers and populate cr.trailers with actual values.
    func (cr *s3ChunkedReader) readTrailers() error {
    	if cr.debug {
    		fmt.Printf("pre trailer sig: %s\n", cr.seedSignature)
    	}
    	var valueBuffer bytes.Buffer
    	// Read value
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top