Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-846

Throw if maxStalenessSeconds URI option is out of range

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-beta1, 1.3.0
    • Affects Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      The implementation in PHPC-827 only considers 32-bit integers and ignores 64-bit values. We should also inspect 64-bit values. Since BSON encoding only uses 64-bit values when needed, a 64-bit value will result in an exception when we validate the maxStalenessSeconds range.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: