Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 10MB (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

    public class ContentLengthHelper {
        /**
         * Constructs a new ContentLengthHelper.
         */
        public ContentLengthHelper() {
            // Default constructor
        }
    
        /** Default maximum content length set to 10MB */
        protected long defaultMaxLength = 10L * 1024L * 1024L;
    
        /** Map to store maximum content lengths for specific MIME types */
        protected Map<String, Long> maxLengthMap = new HashMap<>();
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. internal/config/crypto_test.go

    		}
    	}
    	b.Run("1KB", func(b *testing.B) { benchmarkEncrypt(1*1024, b) })
    	b.Run("512KB", func(b *testing.B) { benchmarkEncrypt(512*1024, b) })
    	b.Run("1MB", func(b *testing.B) { benchmarkEncrypt(1024*1024, b) })
    	b.Run("10MB", func(b *testing.B) { benchmarkEncrypt(10*1024*1024, b) })
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. internal/http/response-recorder.go

    	lrw.bytesWritten += n
    	if lrw.ttfbBody == 0 {
    		lrw.ttfbBody = time.Now().UTC().Sub(lrw.StartTime)
    	}
    
    	if (lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody {
    		// If body is > 10MB, drop it.
    		if lrw.bytesWritten+len(p) > 10<<20 {
    			lrw.LogAllBody = false
    			lrw.body = bytes.Buffer{}
    		} else {
    			// Always logging error responses.
    			lrw.body.Write(p)
    		}
    	}
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top