8000 Merge branch '4.4' into 5.2 · symfony/symfony@58fa56f · GitHub
[go: up one dir, main page]

Skip to content

Commit 58fa56f

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: allow CurlHttpClient on Windows remove references to "Silex"
2 parents 09866a3 + 3b1948f commit 58fa56f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/Symfony/Component/HttpClient/HttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function create(array $defaultOptions = [], int $maxHostConnection
5050
}
5151

5252
if (\extension_loaded('curl')) {
53-
if ('\\' !== \DIRECTORY_SEPARATOR || ini_get('curl.cainfo') || ini_get('openssl.cafile') || ini_get('openssl.capath')) {
53+
if ('\\' !== \DIRECTORY_SEPARATOR || isset($defaultOptions['cafile']) || isset($defaultOptions['capath']) || ini_get('curl.cainfo') || ini_get('openssl.cafile') || ini_get('openssl.capath')) {
5454
return new CurlHttpClient($defaultOptions, $maxHostConnections, $maxPendingPushes);
5555
}
5656

src/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ public function save()
113113
$this->data = $data;
114114
}
115115

116-
// this is needed for Silex, where the session object is re-used across requests
117-
// in functional tests. In Symfony, the container is rebooted, so we don't have
118-
// this issue
116+
// this is needed when the session object is re-used across multiple requests
117+
// in functional tests.
119118
$this->started = false;
120119
}
121120

src/Symfony/Component/HttpKernel/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ HttpKernel Component
33

44
The HttpKernel component provides a structured process for converting a Request
55
into a Response by making use of the EventDispatcher component. It's flexible
6-
enough to create a full-stack framework (Symfony), a micro-framework (Silex) or
7-
an advanced CMS system (Drupal).
6+
enough to create full-stack frameworks, micro-frameworks or advanced CMS systems like Drupal.
87

98
Resources
109
---------

0 commit comments

Comments
 (0)
0