Граф коммитов

55 Коммитов

Автор SHA1 Сообщение Дата
JinmingHu d3e60f0653
Merge pull request #106 from sfc-gh-tclinkenbeard/fix-constainers-typo
Fix typo by replacing constainers with containers
2020-12-07 10:29:18 +08:00
Trevor Clinkenbeard cae4375a09 Mark valid() methods const 2020-12-05 12:37:42 -08:00
Trevor Clinkenbeard 3192943e93 Replace constainers with containers 2020-10-16 22:42:14 -07:00
Jinming Hu 11e1f98b02 Release 0.3.0 2020-03-12 20:39:47 -07:00
Jinming Hu 69aa7e8320 Use uint64_t instead of size_t for block/blob size, since in the future block size may be larger than 4GB 2020-03-12 20:39:47 -07:00
Jinming Hu c99fdc085a Parallel upload/download 2020-03-12 20:39:47 -07:00
Jinming Hu e5ae16c510 Add memory stream 2020-03-12 20:39:47 -07:00
Jinming Hu 23ed32740d Add definition NOMINMAX for windows build, so that we can use std::min/max 2020-03-12 20:39:47 -07:00
Jinming Hu efa76b8311 Fix bug: duplicate http headers on retry 2020-03-12 20:39:47 -07:00
Jinming Hu 26ffacb139 Fix authentication failure when running against Azurite and IoT devices 2020-03-12 20:39:47 -07:00
Jinming Hu efd10e6cb5 Proxy support 2020-03-12 20:39:47 -07:00
Jinming Hu 4486a450dc Change default retry count to 3, to avoid misleading people into thinking the program hangs 2020-03-12 20:39:47 -07:00
Jinming Hu e79e61737b Fix issue: storage_error didn't contain any error information when curl failed 2020-03-12 20:39:47 -07:00
Joe maley ea001580b5 'buff' const-correctness in upload_block_from_buffer()
The 'buff' argument does not need to be mutable. The const qualfier makes the
interface more flexible because it can now handle const input buffers.
2020-03-08 19:38:06 -07:00
Jinming Hu 12766488a7 Fix build errors on Windows 2020-02-03 22:00:24 -08:00
Jinming Hu ca441bad41 Update tinyxml2 to latest version 7.1.0 2020-01-02 20:47:41 -08:00
Jinming Hu 033ca6b23b Use different API versions for different services 2020-01-02 20:47:41 -08:00
Jinming Hu 868c703282 Use uniform storage_exception 2020-01-02 20:47:41 -08:00
Jinming Hu 7fc1954055 Update version to 0.2.0 2020-01-02 20:47:41 -08:00
Jinming Hu 0d57a7a320 Add get_request_headers() 2019-12-02 23:16:55 -08:00
Jinming Hu 3c87b389f4 Add two APIS: set_container_metadata and set_blob_metadata 2019-12-02 23:16:55 -08:00
Jinming Hu c021d0b232 ramp up REST API version to 2018-11-09 2019-12-02 23:16:55 -08:00
Jinming Hu 48003cab46 Some necessary changes for the sake of ADLS Gen2 2019-12-02 23:16:55 -08:00
Jinming Hu 39eb56ab25 Add json parser for response body 2019-12-02 23:16:55 -08:00
Jinming Hu 256a309bee Remove useless header 2019-12-02 23:16:55 -08:00
Jinming Hu a5994fbceb Improve log API, fix link issue 2019-12-02 23:16:55 -08:00
Jinming Hu a61fff3ec9 Add switch for dllimport/dllexport 2019-12-02 23:16:55 -08:00
Jinming Hu 18b482a934 Fix a bug: query parameter is not converted to lowercase when signing 2019-12-02 23:16:55 -08:00
Jinming Hu 4bdcfe1c1d Move URL-encode code to utility so that ADLS Gen2 can leverage it 2019-12-02 23:16:55 -08:00
Jinming Hu b401cd88db [Breaking] Change API name: get_blob/container_property->get_blob/container_properties, plus they return std::future<> now 2019-12-02 23:16:55 -08:00
Jinming Hu 39259064cc Drop OpenSSL dependency on Windows 2019-11-18 23:17:04 -08:00
Jinming Hu 2bc4456c49 Refactor CMake 2019-11-18 23:17:04 -08:00
Viswanatha Reddy 4031a59269 Fix for reused curl handles' options getting ineffective 2019-11-18 23:17:04 -08:00
Jinming Hu 5e225b832a Fix a bug: HTTP body is left out when retry. 2019-11-18 23:17:04 -08:00
Jinming Hu 071a40d1e8 Add dllexport for blob_client_wrapper 2019-11-18 23:17:04 -08:00
Tank Tang 5dd8840387 Added upload_from_buffer to avoid copying only to initialize a stream 2019-10-14 18:37:04 -07:00
Tank Tang d83521d2ec Resolved an issue on Mac/Windows where blob_client_wrapper cannot upload correct data using upload_file_to_blob 2019-10-14 18:37:04 -07:00
Tank Tang cab2d8a7a5 Resolved a problem in blob_client_wrapper where unseekable stream cannot be successfully uploaded. 2019-10-14 18:37:04 -07:00
Damien Pontifex db694ec929 removing duplicate desctructor 2019-09-29 10:03:46 +08:00
Damien Pontifex 082cf5375f Removed unused getter 2019-09-29 10:03:17 +08:00
Damien Pontifex 30fa88d7c8 mutable std::mutex to retain const correctness for readonly 2019-09-29 10:03:17 +08:00
Damien Pontifex cf10e9f66f Mutex in header for token credentials 2019-09-29 10:03:17 +08:00
Damien Pontifex f75264166b Sample using bearer token 2019-09-29 10:03:17 +08:00
Damien Pontifex 8ac4a017b7 storage credentials for bearer token auth 2019-09-29 10:03:17 +08:00
Damien Pontifex f49d36198b fixes for macOS build 2019-09-08 19:31:37 -07:00
Evan Kirkiles 37aa89efeb Add virtual destructors to several base classes
On Mac OS Mojave (and potentially other platforms), there was a bug
where a lack of virtual destructors would stop make install from
building successfully. This commit adds empty virtual destructors to
remedy this problem to several base classes.
2019-09-08 19:31:09 -07:00
Damien Pontifex 71fc6ced39 fix on macOS where strcasecmp not declared in scope 2019-06-23 20:03:32 -07:00
Tank Tang 54bb4cfb04 Resolved an issue of base 64 encoding to not behave correctly on some machines. 2019-06-16 19:39:43 -07:00
Damien Pontifex 21f5d6f3a6 Move comparator to standalone file for utility usage 2019-05-16 13:55:23 -07:00
Damien Pontifex d96ec2d460 Spec defines HTTP header fields as case insensitive
- https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
- Use std::map with case insensitive compare for keys
2019-05-16 13:55:23 -07:00