Project

General

Profile

« Previous | Next » 

Revision 9099

Added by Matt Jones about 9 years ago

Modify v1 and v2 calls to MultipartRequestResolver to use MAX_UPLOAD_SIZE from configuration.

View differences:

D1ResourceHandler.java
82 82
    public static final byte HEAD = 5;
83 83

  
84 84
	/** Maximum size of uploads, defaults to 1GB if not set in property file */
85
	private static int MAX_UPLOAD_SIZE = 1000000000;	
85
	protected static int MAX_UPLOAD_SIZE = 1000000000;
86 86

  
87 87
    /*
88 88
     * API Resources

Also available in: Unified diff