Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-117

Negative expiry values should throw an error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.1.0-dp5
    • 1.1.0-dp4
    • library
    • Security Level: Public
    • None

    Description

      Negative expiry values should throw an error. It is impossible to determine if the user means to disable expiry, or has accidentally make the expiry value too low (which in C-land will cause a wrap-around).

      Currently it just wraps around to a time_t (or doesn't throw an error at least).

      Attachments

        For Gerrit Dashboard: PCBC-117
        # Subject Branch Project Status CR V

        Activity

          People

            mjackson Michael Jackson
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty