Commit Graph

490 Commits

Author SHA1 Message Date
Marius 88aed988f9 Ensure empty body in HEAD response 2015-11-26 16:25:59 +01:00
Marius 9a943a4896 Ignore order of metadata in tests 2015-11-26 16:25:34 +01:00
Marius 3812aa7ca2 Add test case for order of termination 2015-11-26 12:43:49 +01:00
Marius 7b1cf1f639 Adjust code style 2015-11-26 12:43:31 +01:00
Marius 38e0a4759b Add documentation for order of termination 2015-11-26 12:43:04 +01:00
anirudt 84ae1cb5b7 modified to private struct 2015-11-25 08:09:58 +05:30
anirudt e135bdde99 fixed bugs 2015-11-25 07:54:36 +05:30
anirudt 57fc14d2f4 used reverse.sort interface 2015-11-25 07:47:31 +05:30
anirudt c2e521e518 fixed index 2015-11-21 09:20:32 +05:30
anirudt 06be13f200 Sorting before termination of uploads
This fix is in limitedstore/limitedstore.go, to intelligently terminate
existing file uploads. The store.uploads map is sorted, and
then analysed to remove the bigger existing uploads first.
2015-11-21 09:02:48 +05:30
Marius 7c7c49f786 Merge pull request #33 from anirudt/master
Fixes typo in datastore.go
2015-11-19 16:35:41 +01:00
anirudt 1e0b37a9a8 Fixes typo in datastore.go
fixes two occurences of the word interpreted
in datastore.go
2015-11-19 19:48:26 +05:30
Marius e445d9c0ef Merge pull request #31 from vayam/master
Allow GET CORS requests, XSS protection and better content type
2015-11-16 21:33:52 +01:00
Naren Venkataraman d87b72e34d Add nosniff header by default 2015-11-15 17:21:57 -05:00
Naren Venkataraman 294b815afb Add OPTIONS back 2015-11-15 17:15:24 -05:00
Naren Venkataraman 04ff76f0ac Add GET,DELETE and remove redundant OPTIONS from Access-Control-Allow-Headers 2015-11-14 12:25:26 -05:00
Naren Venkataraman a48cf931ae Use reason variable 2015-11-14 12:17:52 -05:00
Marius f569ae3f5d Merge pull request #30 from gingermusketeer/fix_race_in_tests
Remove race in patch test
2015-11-11 15:11:52 +01:00
Max Brosnahan 98d8c939c2 Remove race in patch test 2015-11-10 22:16:01 -07:00
Marius 376b73ae4b Merge pull request #28 from gingermusketeer/allow_logger_to_be_configured
Allow logger to be configured
2015-11-09 21:53:10 +01:00
Marius b6b65c5dee Merge pull request #27 from vayam/master
Protocol Conformance + Bug fixes
2015-11-09 21:51:53 +01:00
Max Brosnahan e71b8fb0f3 Allow logger to be configured 2015-11-04 14:42:39 -07:00
Naren Venkataraman 7898128700 Fix tests 2015-11-04 04:56:32 -05:00
Naren Venkataraman db67b862ae s/ErrIllegalOffset/ErrMismatchOffset 2015-11-04 04:37:37 -05:00
Naren Venkataraman e451dc5f65 Make sure Upload-Offset in PATCH request is greater than 0 2015-11-04 04:33:32 -05:00
Naren Venkataraman 1f6aac2a49 Make sure PATCH request has application/offset+octet-stream 2015-11-04 04:23:09 -05:00
Naren Venkataraman 86dc420ebe Fix Content-Length/Body Len Mismatch 2015-11-04 04:16:41 -05:00
Marius b9ba10cca2 Merge branch 'master' of github.com:tus/tusd 2015-11-02 15:32:10 +01:00
Marius e13c87d966 Send empty response Body for HEAD requests
Fixes #26
2015-11-02 15:31:05 +01:00
Marius 4c59ae42b7 Merge pull request #25 from gingermusketeer/tweak_readme_links
Tweak README.md links
2015-10-18 20:18:36 +02:00
Max Brosnahan 549f6e6aad Change links to point to godoc.org
Also changes links to use https instead of http
2015-10-18 12:16:30 -06:00
Max Brosnahan 13315ad9c8 Tweak README.md links 2015-10-18 12:07:16 -06:00
Marius 52eb00b2f8 Use idle timeouts for read and write operations
Thanks to @LukaszMarchewka for making me indirectly aware of the incorret
patch and @jbardin for providing the proper timeout handling.

A connection now will be closed once no read operation success for 30ms
(default value, can be changed).

Fixes #24
2015-10-16 20:48:08 +02:00
Marius acd3a63213 Add options for read timeout to tusd command
Fixes #24
2015-10-16 20:02:08 +02:00
Acconut 7d25a9e65b Switch to X-HTTP-Method-Override 2015-10-06 18:27:40 +02:00
Acconut 3b4353578d Restrict toolchain builds tp required platforms 2015-08-19 18:24:20 +02:00
Acconut 5c81b40e70 Setup automatic releases with Travis 2015-08-19 18:08:15 +02:00
Kevin van Zonneveld a6d56b4444 Move Makefile to infra repo 2015-08-19 16:36:31 +02:00
Kevin van Zonneveld 186e192cb0 Move infra builder to own repo 2015-08-19 16:34:49 +02:00
Kevin van Zonneveld 942ec77216 Tusd installment placeholders /cc @Acconut 2015-08-19 16:16:43 +02:00
Kevin van Zonneveld 136b054d4c More efficient way of installing shortcuts 2015-08-18 16:30:43 +02:00
Kevin van Zonneveld 9e5bf0fbe7 Infra construction /cc @Acconut
All this needs now is a wget for the tus binary, and running it.
2015-08-18 16:11:53 +02:00
Acconut d36573d956 Use Travis badge for master branch 2015-07-31 12:36:58 +02:00
Acconut a284e89e28 Add Tus-Method-Override header 2015-07-31 12:35:21 +02:00
Acconut 75506bc129 Update README for new path to binary 2015-07-28 17:40:55 +02:00
Acconut c321ef8420 Move tusd binary in cmd subdirectory 2015-07-28 17:40:23 +02:00
Acconut f46e49697d Merge branch 'neXT' of github.com:tus/tusd into neXT 2015-07-28 14:59:08 +02:00
Acconut 2c78d31c27 Close io.Reader if possible 2015-07-28 14:58:52 +02:00
Marius 97dca3d325 Imporive README 2015-07-15 14:40:14 +02:00
Acconut 0c04ba220f prevent caching of HEAD responses 2015-05-26 16:17:35 +02:00