Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for badTime (0.33 sec)

  1. cmd/test-utils_test.go

    }
    
    // Malform chunk size given a request signed using streaming signatureV4.
    func malformChunkSizeSigV4(req *http.Request, badSize int64) (*http.Request, error) {
    	bufReader := bufio.NewReader(req.Body)
    	_, chunkSignature, err := readChunkLine(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	n := badSize
    	newHexChunkSize := []byte(fmt.Sprintf("%x", n))
    	newChunkHdr := []byte(fmt.Sprintf("%s"+s3ChunkSignatureStr+"%s\r\n",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top