The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more.
Clone or download
fabpot feature #28598 [Cache] support configuring multiple Memcached servers…
… in one DSN (nicolas-grekas)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[Cache] support configuring multiple Memcached servers in one DSN

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27855
| License       | MIT
| Doc PR        | symfony/symfony-docs#10402

Useful to reconfigure dynamically an array of memcached servers (eg removing a dead one or adding a new one).
DSN format is e.g. `memcached://localhost?host[foo.bar]=3`.
To ease generating the DSN programmatically, it works also with `memcached:?host[localhost]&host[localhost:12345]&host[/some/memcached.sock:]=3`.

The key of the "host" parameter is a "host:port" pair, the value is the weight of the "host:port" pair.
Sockets need to be specified with the trailing `:` (as shown in the last example).

Commits
-------

8e0605ac18 [Cache] support configuring multiple Memcached servers in one DSN
Latest commit f34ad52 Sep 26, 2018
Permalink
Failed to load latest commit information.
CacheWarmer feature #28210 [Contracts] Add Translation\TranslatorInterface + deco… Sep 3, 2018
Command feature #28449 [DependencyInjection] improved message when alias serv… Sep 23, 2018
Console fixed CS Sep 4, 2018
Controller Deprecate `Symfony\Bundle\FrameworkBundle\Controller\Controller` Aug 27, 2018
DataCollector Merge branch '4.0' into 4.1 Jul 26, 2018
DependencyInjection feature #28598 [Cache] support configuring multiple Memcached servers… Sep 26, 2018
EventListener Merge branch '4.0' into 4.1 Jul 26, 2018
HttpCache Merge branch '4.0' into 4.1 Jul 26, 2018
Kernel Merge branch '3.4' into 4.1 Sep 2, 2018
Resources [FrameworkBundle] Register an identity translator as fallback Sep 20, 2018
Routing Merge branch '4.1' Sep 8, 2018
Templating [FrameworkBundle] Register an identity translator as fallback Sep 20, 2018
Test [DI] leverage Contracts\Service Sep 4, 2018
Tests feature #28523 [FrameworkBundle] Register an identity translator as f… Sep 21, 2018
Translation Merge branch '4.0' into 4.1 Jul 26, 2018
.gitignore Added missing files .gitignore Jul 21, 2013
CHANGELOG.md [FrameworkBundle] Ignore backslashes in service ids when using `debug… Sep 19, 2018
Client.php Merge branch '2.8' into 3.4 Sep 5, 2018
FrameworkBundle.php Merge branch '4.1' Sep 2, 2018
LICENSE fixed years in copyright Jan 3, 2018
README.md add readme files where missing Mar 7, 2016
composer.json feature #28117 [FrameworkBundle] add class description to debug:conta… Sep 4, 2018
phpunit.xml.dist Merge branch '3.2' Apr 12, 2017

README.md