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

Constructor segfaults when http:// is used in URL

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.4
    • Fix Version/s: 1.1.0-dp4
    • Component/s: library
    • Security Level: Public
    • Labels:
      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.

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

        Activity

        Hide
        mnunberg Mark Nunberg added a comment -

        Passes tests on pending 1.0.6, assuming fixed

        Show
        mnunberg Mark Nunberg added a comment - Passes tests on pending 1.0.6, assuming fixed

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            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