Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-1456

php_mongo_api_get_reply() should decode exactly one BSON document

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.6.8
    • Fix Version/s: 1.6.x
    • Component/s: pecl-mongo
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      true

      Description

      php_mongo_api_get_reply() currently uses the iterative BSON-to-zval conversion (as is done for cursors). As of PHP-1452, we should probably switch to using the variant that expects the entire buffer to be a single BSON document, since write commands should return a single document response and nothing more.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  3 years, 44 weeks, 5 days ago
                  Date of 1st Reply: