Skip to content

Commit db1b417

Browse files
committed
describe combined retry API
1 parent ab662af commit db1b417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Ensure `mongocrypt_setopt_retry_kms` is called on the `mongocrypt_t` to enable r
249249
> until `mongocrypt_kms_ctx_bytes_needed` returns 0.
250250

251251
If any step encounters a network error, call `mongocrypt_kms_ctx_fail`.
252-
If `mongocrypt_kms_ctx_fail` returns true, continue to the next KMS context.
252+
If `mongocrypt_kms_ctx_fail` returns true, retry the request by continuing to the next KMS context or by feeding the new response into the same context.
253253
If `mongocrypt_kms_ctx_fail` returns false, abort and report an error. Consider wrapping the error reported in `mongocrypt_kms_ctx_status` to include the last network error.
254254

255255
2. When done feeding all replies, call `mongocrypt_ctx_kms_done`.

0 commit comments

Comments
 (0)