Closed mapk-amazon closed 6 months ago
Related issue: https://github.com/samtools/samtools/issues/1984
The two main changes are:
s3_open_v4
hopen
redirect_endpoint_callback
Some minor changes:
s3_auth_data
{0, 0, NULL}
KS_INITIALIZE
Thanks, I can confirm that this works in my tests.
Related issue: https://github.com/samtools/samtools/issues/1984
The two main changes are:
s3_open_v4
an additionalhopen
is called if a redirect (status code between 300 and 399) is detected.redirect_endpoint_callback
the url is parsed and a new one constructed respecting the virtual path style in Amazon S3 links.Some minor changes:
s3_auth_data
to allow the use inredirect_endpoint_callback
{0, 0, NULL}
byKS_INITIALIZE
for various variables.