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

Use explicit SSL options rather then stream context

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.4.0
    • Affects Version/s: 0.3.1
    • Component/s: None
    • None

      Stream contexts are hip and cool, but cumbersome.
      The user provided stream context also is just one context, while we connect to many servers.
      Any further changes by the user of the context will not apply to all the streams.

      This makes it a bit confusing.

      Furthermore, it adds several lines of "bootstrapping" needed to get SSL working.
      We can also simply get an array and make our own contexts - providing consistent verification behaviour across PHP versions.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: