Don't call session_start() when PHP session is still or already open.#31286
Conversation
|
#28695 was an older alternative, not sure which is best |
No idea 😕 |
|
I've been trying to figure out why we actually need the
@rotdrop Did you have any reasoning to go with the session_write_close instead of dropping the start_session? |
|
|
No as the session_start would reopen it for writing. |
Both perform a similar goal, this one seems more clean. |
|
/rebase |
|
Is this still a thing after 9e1d431? |
Yes, that linked commit only reduced one common case where a session would be opened for writing. This might still occur later in the code path. |
|
/rebase |
|
@rotdrop Can you maybe rebase your PR so we trigger CI again and can get this merged? |
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
ffdb4d2 to
45ec432
Compare
Signed-off-by: Claus-Justus Heine himself@claus-justus-heine.de
See #31248