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

Added soap client proxy support #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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