summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5FDs3comms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5FDs3comms.c b/src/H5FDs3comms.c
index d91d3b9..d61b6f4 100644
--- a/src/H5FDs3comms.c
+++ b/src/H5FDs3comms.c
@@ -1281,6 +1281,11 @@ H5FD_s3comms_s3r_read(s3r_t *handle, haddr_t offset, size_t len, void *dest)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "unable to format HTTP Range value");
}
+#if S3COMMS_DEBUG
+ HDfprintf(stderr, "%s: Bytes %" PRIuHADDR " - %" PRIuHADDR ", Request Size: %zu\n", handle->httpverb,
+ offset, offset + len, len);
+#endif
+
/*******************
* COMPILE REQUEST *
*******************/