Skip to content

Commit

Permalink
Headers were broken when upload a lot of large files (and set maxOper…
Browse files Browse the repository at this point in the history
…ations to 5). Could be also relevant with issue pifantastic#100.
  • Loading branch information
sampsasaarela committed Dec 30, 2013
1 parent af631da commit 3602a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/lib/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ exports.init = function (grunt) {
return dfd.reject(makeError(MSG_ERR_NOT_FOUND, prettySrc));
}

var headers = options.headers || {};
var headers = _.clone(options.headers || {});

if (options.access) {
headers['x-amz-acl'] = options.access;
Expand Down

0 comments on commit 3602a13

Please sign in to comment.