This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier f37ac131e1 bug #20375 [HttpFoundation][Session] Fix memcache session handler (klandaika)
This PR was merged into the 2.7 branch.

Discussion
----------

[HttpFoundation][Session] Fix memcache session handler

| Q             | A
| ------------- | ---
| Branch?       | 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 3.0, 3.1, master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commit 0216e05605 removed the opening of connection to memcached server on call to `open()`, because it's assumed that connection is already opened. However, `close()` still closes the connection. As a result no more read/write calls can be made if session got closed, as the connection does not get reestablished.

Basically MemcacheSessionHandler should follow same logic as Memcache**d**SessionHandler, which is exactly what this MR acomplishes.

Commits
-------

0423d894 [HttpFoundation][Session] memcached connection should not be closed
2016-11-04 08:14:52 -07:00
..
Asset Fixed expectedException annotations 2016-09-23 11:13:36 -07:00
BrowserKit minor #19830 Code enhancement and cleanup (yceruto) 2016-09-06 09:26:09 +02:00
ClassLoader Enhance GAE compat by removing some realpath() 2016-10-27 11:13:40 +02:00
Config minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
Console [Console] Fix infinite loop on missing input 2016-11-03 09:51:57 +01:00
CssSelector CS: apply rules 2016-11-03 08:44:53 +01:00
Debug CS: apply rules 2016-11-03 08:44:53 +01:00
DependencyInjection minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
DomCrawler minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
EventDispatcher CS fixes 2016-11-03 08:49:30 +01:00
ExpressionLanguage CS: apply rules 2016-11-03 08:44:53 +01:00
Filesystem fixed Filesystem:makePathRelative and added 2 more testcases 2016-10-14 07:26:34 -07:00
Finder minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
Form minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
HttpFoundation bug #20375 [HttpFoundation][Session] Fix memcache session handler (klandaika) 2016-11-04 08:14:52 -07:00
HttpKernel bumped Symfony version to 2.7.21 2016-10-26 19:12:15 -07:00
Intl minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
Locale removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
OptionsResolver PHP CS Fixer: use php_unit_dedicate_assert 2016-10-16 22:09:53 +02:00
Process silent file operation to avoid open basedir issues 2016-09-28 19:20:21 -07:00
PropertyAccess Minor fixes 2016-07-30 03:17:26 -04:00
Routing [Routing] Add missing options in docblock 2016-08-16 12:55:04 +02:00
Security bug #19725 [Security] $attributes can be anything, but RoleVoter assumes strings (Jonatan Männchen) 2016-10-05 18:42:44 -07:00
Serializer CS: apply rules 2016-11-03 08:44:53 +01:00
Stopwatch removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
Templating Code enhancement and cleanup 2016-09-06 09:26:07 +02:00
Translation minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
Validator minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00
VarDumper CS: apply rules 2016-11-03 08:44:53 +01:00
Yaml minor #20364 CS: apply rules (keradus) 2016-11-03 08:44:55 +01:00