Skip to content

Conversation

@basschipper
Copy link

No description provided.

@verschoof
Copy link
Owner

Hi @basschipper,

Thanks for the PR!
Can you provide some more information about your PR?

I see you add $options['stream_context'] = $streamContext; does this give a different behavior than before? (I ask this to prevent BC breaks..)

@basschipper
Copy link
Author

No BC breaks, it only predefines the peer server name. Default the SoapClient guesses this name based on the hostname, which fails when using an outgoing proxy like Squid (peer server name != proxy hostname).

http://php.net/manual/en/context.ssl.php

  • SNI_server_name & peer_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants