Skip to content

Commit 72a2a25

Browse files
bug #58343 [HttpClient] Add crypto_method to scoped client options (HypeMC)
This PR was merged into the 6.4 branch. Discussion ---------- [HttpClient] Add `crypto_method` to scoped client options | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT While working on something else I've noticed that the `crypto_method` option wasn't added for scoped clients in #50274. I'm not sure if this was intentional or not, but as far as I can tell, there's no reason for the option to not be there, so I'm guessing it was an oversight. Commits ------- e274ee46cb7 [HttpClient] Add `crypto_method` to scoped client options
2 parents bc9f770 + b7ed34d commit 72a2a25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DependencyInjection/Configuration.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2093,6 +2093,9 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode, callable $e
20932093
->variableNode('md5')->end()
20942094
->end()
20952095
->end()
2096+
->scalarNode('crypto_method')
2097+
->info('The minimum version of TLS to accept; must be one of STREAM_CRYPTO_METHOD_TLSv*_CLIENT constants.')
2098+
->end()
20962099
->arrayNode('extra')
20972100
->info('Extra options for specific HTTP client')
20982101
->normalizeKeys(false)

0 commit comments

Comments
 (0)