Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set stream context before opening socket #330

Merged
merged 2 commits into from
Mar 8, 2023
Merged

Commits on Feb 25, 2023

  1. Set stream context before opening socket

    zendframework#250
    
    For TLS connections it would be ok setting the stream context options after connection is setup as you are still in cleartext at the start of an non-SSL connection.
    For SSL connections these options need to be setup in context as stream_socket_client is created so the stream can be verified as its connecting, if not done you will generate a socket failure.
    tsmgeek committed Feb 25, 2023
    Configuration menu
    Copy the full SHA
    9f352e6 View commit details
    Browse the repository at this point in the history
  2. update stream context methods

    tsmgeek committed Feb 25, 2023
    Configuration menu
    Copy the full SHA
    5b21293 View commit details
    Browse the repository at this point in the history