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

Constructor segfaults when http:// is used in URL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.0-dp4
    • 1.0.4
    • library
    • Security Level: Public
    • None

    Description

      This works:

      $cb = new Couchbase("184.72.2.230:8091"); // uses the default bucket

      This segfaults:

      $cb = new Couchbase("http://184.72.2.230:8091"); // uses the default bucket

      At least some better message to the user would be nice.

      Can we also check this for all of our other libraries? The standard way of doing things used to be to put the full URL on there...and still is for .NET at least.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            perry Perry Krug
            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