taylorfinnell / awscr-s3

A Crystal shard for S3.
https://taylorfinnell.github.io/awscr-s3/
MIT License
81 stars 48 forks source link

Missing NextContinuationToken key in list_objects response in CEPH S3 #71

Open lexxiebelle opened 4 years ago

lexxiebelle commented 4 years ago

You can add return stop if (lo = @last_output) && lo.truncated? && lo.next_token.empty? in Awscr::S3::Paginator::ListObjectsV2#next ?

Without a continuation-token, an infinite loop occurs if the number of objects > max_keys in the request parameters.

Thank you