]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: more cors fixes
authorBabu Shanmugam <anbu@enovance.com>
Thu, 28 Mar 2013 05:05:01 +0000 (10:35 +0530)
committerSage Weil <sage@inktank.com>
Mon, 1 Apr 2013 04:51:59 +0000 (21:51 -0700)
commitd4b22f3e17c5d23ca32012d5b67fa98d9fb1e8d1
tree38d96b1bf2c423dfe169a5b328c5ab2280edff75
parente9e86ad14a2a1159f019369ccff6461dba74a4e4
rgw: more cors fixes

Remove the check for read_cors_config in rgw_main.cc, and changes type of 'a' to unsigned from long as max_age cannot be a negative integer

Modified the type of 'a' to unsigned long and used ULONG_MAX and strtol in rgw_cors_swift.h

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
src/rgw/rgw_cors_swift.h
src/rgw/rgw_main.cc