Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpClient] fix using proxies with NativeHttpClient#38375

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedOct 1, 2020
edited
Loading

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

As spotted by@stof in#38368 (comment), we cannot use local DNS resolution with HTTP proxies.

@bohanwood
Copy link

Thank you. This time it worked correctly with both privoxy and v2ray.

nicolas-grekas reacted with thumbs up emoji

@nicolas-grekasnicolas-grekasforce-pushed thehc-native+proxy branch 5 times, most recently frombffd91f toc5e4302CompareOctober 2, 2020 07:55
@nicolas-grekasnicolas-grekasforce-pushed thehc-native+proxy branch 2 times, most recently from639ba05 to8310428CompareOctober 2, 2020 08:11
@nicolas-grekasnicolas-grekas merged commitaca260f intosymfony:4.4Oct 2, 2020
@nicolas-grekasnicolas-grekas deleted the hc-native+proxy branchOctober 2, 2020 08:30
@bohanwood
Copy link

bohanwood commentedOct 2, 2020
edited
Loading

Sorry, I tested again with the merged code, the SSL peer name verification is broken

PHP Fatal error:  Uncaught Symfony\Component\HttpClient\Exception\TransportException: fopen(): Peer certificate CN=`random.org' did not match expected CN=`'PHP Fatal error:  Uncaught Symfony\Component\HttpClient\Exception\TransportException: fopen(): SSL operation failed with code 1. OpenSSL Error messages:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

image

nicolas-grekas reacted with thumbs up emoji

nicolas-grekas added a commit that referenced this pull requestOct 2, 2020
…las-grekas)This PR was merged into the 4.4 branch.Discussion----------[HttpClient] fix unsetting context[ssl][peer_name]| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no (fixing a not released fix)| New feature?  | no| Deprecations? | no| Tickets       |Fix#38375 (comment)| License       | MIT| Doc PR        | -/cc@bohanyang could you please confirm this fixes it?Commits-------8eb8a7c [HttpClient] fix unsetting context[ssl][peer_name]
This was referencedOct 4, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@bohanwood@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp