Commit Graph

1971 Commits

Author SHA1 Message Date
Harshavardhana
19250296c6 Handle authorization header better 2015-05-24 20:59:53 -07:00
Harshavardhana
2d5e1d3797 Merge pull request #613 from harshavardhana/pr_out_relax_minium_object_size_limit_one_can_really_upload_a_0byte_file 2015-05-23 12:22:27 -07:00
Harshavardhana
9666f2e5bf Relax minium object size limit, one can really upload a 0byte file
For example
~~~
$ mc ls https://s3.amazonaws.com/ferenginar/test.go
[2015-05-23 12:02:06 PDT]     0B test.go

$ curl -i -X HEAD https://s3.amazonaws.com/ferenginar/test.go
HTTP/1.1 200 OK
x-amz-id-2: ZMWLriPH+uQJ8IsaMHmuNOU/FXvdSq+s6O7ugUI9hZ695XJTNAZ1utKxh03w5Jcf
x-amz-request-id: F5A11F533B74DD8F
Date: Sat, 23 May 2015 19:19:29 GMT
Last-Modified: Sat, 23 May 2015 19:02:06 GMT
ETag: "d41d8cd98f00b204e9800998ecf8427e"
Accept-Ranges: bytes
Content-Type: binary/octet-stream
Content-Length: 0
Server: AmazonS3
~~~
2015-05-23 12:19:16 -07:00
Harshavardhana
d89396e2f0 Merge pull request #612 from harshavardhana/pr_out_add_contributors_file 2015-05-23 11:55:55 -07:00
Harshavardhana
eca8087993 Add contributors file 2015-05-23 11:49:07 -07:00
Harshavardhana
c63ba4be26 Merge pull request #611 from harshavardhana/pr_out_add_missing_validate_access_keys_after_extracted_from_authheader 2015-05-21 19:29:19 -07:00
Harshavardhana
e11f9110b6 add missing validate access keys after being extracted from AuthHeader 2015-05-21 19:23:47 -07:00
Harshavardhana
138288f788 Merge pull request #610 from harshavardhana/pr_out_fix_some_donut_todo_s_regarding_bucket_created_date 2015-05-21 11:17:24 -07:00
Harshavardhana
ad60b97d52 Fix some donut TODO's regarding bucket created date 2015-05-21 11:13:49 -07:00
Harshavardhana
39dac2afac Merge pull request #609 from harshavardhana/pr_out_remove_unnecessary_todo_for_httpserver 2015-05-21 02:59:12 -07:00
Harshavardhana
cd817d34df Finish last bits of api testsuite on server 2015-05-21 02:57:03 -07:00
Harshavardhana
0fbd36e18e Merge pull request #608 from harshavardhana/pr_out_remove_bitdell_and_analytics_badge_these_services_are_not_working_anymore 2015-05-20 17:20:54 -07:00
Harshavardhana
d4bb71f6fd Remove bitdell and analytics badge, these services are not working anymore 2015-05-20 17:18:15 -07:00
Harshavardhana
f1fecd7510 Merge pull request #607 from harshavardhana/pr_out_bump_gocyclo_back_to_16 2015-05-19 18:34:38 -07:00
Harshavardhana
f00bfd38da Bump gocyclo back to 16 2015-05-19 18:32:50 -07:00
Harshavardhana
b84d8fcda7 Merge pull request #606 from harshavardhana/pr_out_fix_duplicate_map_allocation 2015-05-18 13:18:04 -07:00
Harshavardhana
3d61ba5930 Fix duplicate map allocation 2015-05-18 13:14:01 -07:00
Harshavardhana
8ce44bfbd1 Merge pull request #605 from harshavardhana/pr_out_update_totalnumber_of_multiparts_inside_createobjectpart_also_introduce_support_for_uploadidmarker_and_prefix_for_listmultipartuploads 2015-05-18 12:27:05 -07:00
Harshavardhana
e4c0d574dc Update totalnumber of multiparts inside CreateObjectPart(), also introduce support for UploadIDMarker and Prefix for listMultipartUploads 2015-05-18 12:24:36 -07:00
Harshavardhana
b3e0b3e4dc Merge pull request #604 from harshavardhana/pr_out_head_request_should_have_content_length_for_only_successful_response_there_is_no_response_body_for_errors_just_header_is_sufficient_fixes_603 2015-05-15 21:58:55 -07:00
Harshavardhana
7ce47130fd HEAD request should have Content-Length for only successful response, there is no response body for errors, just header is sufficient - fixes #603
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13

"""  in the case of the HEAD method, the size of the entity-body that would have been sent had the request been a GET. """
2015-05-15 21:55:59 -07:00
Harshavardhana
b0925965a7 Merge pull request #602 from harshavardhana/pr_out_remove_redundant_writeheader_calls 2015-05-15 21:00:32 -07:00
Harshavardhana
317637fcb8 Remove redundant WriteHeader calls 2015-05-15 20:58:28 -07:00
Harshavardhana
5c5761ae16 Remove unnecessary GetObjectMetadata prefix argument 2015-05-15 19:25:17 -07:00
Harshavardhana
8ad52364da Merge pull request #601 from harshavardhana/pr_out_for_multiparts_use_its_own_cache_avoids_deadlocks_during_eviction_wip
For multiparts use its own cache avoids deadlocks during expiration
2015-05-14 20:29:15 -07:00
Harshavardhana
6275238a47 For multiparts use its own cache avoids deadlocks during object expiration
Using same object cache as regular objects for multiparts causes deadlocks during object expiration routine.

As a side affect this also fixes the bug of listing multiparts during regular 'listing' of objects.
2015-05-14 20:26:59 -07:00
Harshavardhana
5751b0bf36 Merge pull request #600 from harshavardhana/pr_out_fixing_a_race_in_newmultipartupload_session_for_simultaneous_requests_observed_at_play_minio_io 2015-05-14 19:13:44 -07:00
Harshavardhana
c41ebf7535 Fixing a race in NewMultipartUpload() session for simultaneous requests, observed at play.minio.io 2015-05-14 19:11:19 -07:00
Harshavardhana
eb34634e81 Merge pull request #599 from harshavardhana/pr_out_add_more_tests_for_multipart_now_in_driver_api_testsuite 2015-05-14 17:31:29 -07:00
Harshavardhana
8fb427a892 Add more tests for multipart now in driver api_testsuite 2015-05-14 17:28:39 -07:00
Harshavardhana
06a9e468d6 Merge pull request #598 from harshavardhana/pr_out_add_tests_for_abortmultipartupload_listobjectparts_listmultipartuploads 2015-05-14 17:09:57 -07:00
Harshavardhana
dba7c94571 Add tests for abortMultipartUpload, listobjectparts, listmultipartuploads 2015-05-14 17:07:30 -07:00
Harshavardhana
5f381a8bee Merge pull request #597 from harshavardhana/pr_out_an_attempt_to_implement_listmultipartuploads_ 2015-05-14 16:25:37 -07:00
Harshavardhana
1bd94ec6ab An attempt to implement ListMultipartUploads() 2015-05-14 16:22:47 -07:00
Harshavardhana
4f7ae8af92 Merge pull request #596 from harshavardhana/pr_out_avoid_one_last_memory_copy_wip 2015-05-14 11:29:59 -07:00
Harshavardhana
82b043005a Avoid one last memory copy 2015-05-14 11:26:55 -07:00
Harshavardhana
55b9a5f5e4 Merge pull request #595 from harshavardhana/pr_out_add_a_new_validatecontenttypehandler_verify_accept_header_earlier 2015-05-13 12:26:30 -07:00
Harshavardhana
5498c90788 Add a new validateContentTypeHandler{}, verify Accept header earlier 2015-05-13 12:22:15 -07:00
Harshavardhana
fdbfa5070b Merge pull request #593 from harshavardhana/pr_out_more_scripts_and_code_from_minio_io_to_minio 2015-05-11 16:43:54 -07:00
Harshavardhana
de56909d55 More scripts and code from Minio-io to minio 2015-05-11 16:43:38 -07:00
Harshavardhana
946341ac29 Merge pull request #592 from harshavardhana/pr_out_move_cli_check_to_minio_from_minio_io 2015-05-11 16:40:23 -07:00
Harshavardhana
50559cfd65 Move cli, check to minio from minio-io 2015-05-11 16:40:12 -07:00
Harshavardhana
f5fb701c5c Merge pull request #591 from harshavardhana/pr_out_change_all_minio_io_path_to_minio
Change all minio-io path to minio
2015-05-11 16:31:10 -07:00
Harshavardhana
8d06504068 Change all minio-io path to minio 2015-05-11 16:23:10 -07:00
Harshavardhana
e39de4f603 Fix typo introduced in previous commit 2015-05-11 14:24:31 -07:00
Harshavardhana
a972e2c3d6 Merge pull request #590 from harshavardhana/pr_out_remove_signaturev2_support_bring_in_signaturev4_header_only_validation_for_now 2015-05-11 14:07:07 -07:00
Harshavardhana
f45635524f Remove SignatureV2 support, bring in SignatureV4 header only validation for now 2015-05-11 13:38:40 -07:00
Harshavardhana
01c1bd6fc5 Merge pull request #589 from harshavardhana/pr_out_use_convenience_functions_for_url_values_over_looping_through_keys_fix_a_bug_in_listobjectparts_ 2015-05-10 11:38:02 -07:00
Harshavardhana
b48b7f51ef Use convenience functions for url.Values over looping through keys, fix a bug in listObjectParts() 2015-05-10 11:32:41 -07:00
Harshavardhana
62f20c0f79 Merge pull request #588 from harshavardhana/pr_out_handle_partnumbermarker_with_listobjectparts_now_and_other_fixes 2015-05-09 19:41:25 -07:00