15820285 support for files >128MB for pkg.depotd publication s11u1-sru s11u1sru13
authorsaurabh.vyas@oracle.com
Mon, 23 Sep 2013 12:22:58 +0530
branchs11u1-sru
changeset 2965 5fa5b8a74ed8
parent 2963 fb155b0f1ee8
child 2978 bee20120a450
15820285 support for files >128MB for pkg.depotd publication
src/depot.py
--- a/src/depot.py	Fri Oct 04 16:50:08 2013 +0200
+++ b/src/depot.py	Mon Sep 23 12:22:58 2013 +0530
@@ -19,7 +19,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2007, 2012, Oracle and/or its affiliates.  All rights reserved.
+# Copyright (c) 2007, 2013, Oracle and/or its affiliates.  All rights reserved.
 #
 
 # pkg.depotd - package repository daemon
@@ -45,7 +45,7 @@
 # body is larger than the specified size (in bytes).  The maximum size supported
 # by cherrypy is 2048 * 1024 * 1024 - 1 (just short of 2048MB), but the default
 # here is purposefully conservative.
-MAX_REQUEST_BODY_SIZE = 128 * 1024 * 1024
+MAX_REQUEST_BODY_SIZE = 512 * 1024 * 1024
 # The default host/port(s) to serve data from.
 HOST_DEFAULT = "0.0.0.0"
 PORT_DEFAULT = 80