Skip to content

Commit dbc9a44

Browse files
[HttpFoundation] Add missing session.lazy_write config option
1 parent 79c1f5e commit dbc9a44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class NativeSessionStorage implements SessionStorageInterface
7676
* gc_probability, "1"
7777
* hash_bits_per_character, "4"
7878
* hash_function, "0"
79+
* lazy_write, "1"
7980
* name, "PHPSESSID"
8081
* referer_check, ""
8182
* serialize_handler, "php"
@@ -337,7 +338,7 @@ public function setOptions(array $options)
337338
'cookie_lifetime', 'cookie_path', 'cookie_secure',
338339
'entropy_file', 'entropy_length', 'gc_divisor',
339340
'gc_maxlifetime', 'gc_probability', 'hash_bits_per_character',
340-
'hash_function', 'name', 'referer_check',
341+
'hash_function', 'lazy_write', 'name', 'referer_check',
341342
'serialize_handler', 'use_strict_mode', 'use_cookies',
342343
'use_only_cookies', 'use_trans_sid', 'upload_progress.enabled',
343344
'upload_progress.cleanup', 'upload_progress.prefix', 'upload_progress.name',

0 commit comments

Comments
 (0)