Dennis Heimbigner c594bb2448 Fix various problems with S3 related code
re: PR https://github.com/Unidata/netcdf-c/pull/3068

Part of splitting PR 3068.

General goal is to fix minor bugs and issues involving
S3 code outside of libnczarr.

1. libsrc/s3io.c:
    - Fix handling of error output of NC_s3sdkinfo.
    - Implement delete arg to s3io_close
2. Add support for Zarr-Over-HTTP (ZOH) protocol, but leave disabled until given the go-ahead from Manuel Reis.
3. Change the ncs3sdk API to light of eventual addition of Zarr V3 support.
4. Modify s3cleanup.in to catch and remove some previously overlooked entries in the Unidata S3 test bucket.
5. Modify s3gc.in to catch and properly remove Unidata S3 test bucket entries with old UIDs.
6. Modify ds3util.c:
    - Support use of a non-standard port -- H/T Manuel Reis
    - Clean up some memory leaks
    - Add disabled ZOH support
    - Better doc on how URLs are interpreted.
    - Document how .aws/config and .aws/credentials files are parsed.
7. Repair bugs in the internal S3 reader/writer module.
    - Allow API functions to return an http code (see also nch5s3comms.h).
    - Fix some casting warnings.
8. Fixes to ncs3sdk_h5.c, the dispatch wrapper for the internal S3 reader/writer
    - Move httptonc to this file.
    - Make conform to API modifications
    - Refactor the key search code.
    - Rename getkeys to list and searchkeys to listall.
9. Fixes to nczarr_test/s3util.c
    - Reflect ds3util.c API changes: e.g search->listall.
10. Add s3util.c to v3_nczarr_directory
11. Extend unit_test/test_s3dk.c to reflect S3 API changes.
12. Extend unit_test/run_s3sdk.sh to add new tests involving S3 API changes.
2025-02-12 18:48:29 -07:00
..
2010-06-03 13:24:43 +00:00
2018-04-26 23:04:01 -04:00
2024-03-11 15:55:43 +00:00
2022-03-14 12:39:37 -06:00
2022-02-08 20:53:30 -07:00
2024-03-18 15:54:15 -05:00
2010-06-03 13:24:43 +00:00
2010-06-03 13:24:43 +00:00
2021-12-23 22:18:56 -07:00