https://github.com/mongodb/mongo-php-library/pull/1079/files#r1205730523
This looks like a bug.
The option was introduced in f169616 for
PHPLIB-319. The GridFS spec notes that it's relevant so long as a driver still supports MD5 hashes, which PHPLIB does.It looks like openUploadStream() never inherits the Bucket's default value like it does for chunkSizeBytes. I believe all of the existing spec tests only set the option when invoking the operation, so the Bucket inheritance is never tested.
- is related to
-
PHPLIB-319 GridFS MD5 digest must be optional
- Closed
- related to
-
PHPLIB-319 GridFS MD5 digest must be optional
- Closed
-
PHPLIB-1218 Remove Deprecated GridFS Fields
- Closed