History log of /PHP-8.2/ext/session/mod_user.c (Results 26 – 50 of 106)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-7.1.0RC1, php-7.0.11RC1
# 1cf179e4 28-Aug-2016 Yasuo Ohgaki

Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc

Revision tags: php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37
# 771e5cc2 11-Jun-2016 Aaron Piotrowski

Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error

# e3c681aa 11-Jun-2016 Aaron Piotrowski

Merge branch 'master' into throw-error-in-extensions


Revision tags: php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1
# 34ff7bbe 15-Jan-2016 Yasuo Ohgaki

Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
Fixed bug #69111 (Crash in SessionHandler::read()). Made session save handler abuse much harder than before.


# bfb9307b 15-Jan-2016 Yasuo Ohgaki

Fixed bug #69111 (Crash in SessionHandler::read()).
Made session save handler abuse much harder than before.

Revision tags: php-5.6.17, php-5.5.31, php-7.0.2
# ed35de78 01-Jan-2016 Lior Kaplan

Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
Happy new year (Update copyright to 2016)


# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)

Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2
# 6065b29f 21-Jul-2015 Anatol Belski

Reverted ad4533fdbabcc3e545277e30023b2fdce16297a0

The E_ERROR to E_RECOVERABLE_ERROR should be readded with the
proper tests.

# ad4533fd 21-Jul-2015 Yasuo Ohgaki

Change E_ERROR and some E_WARNING to E_RECOVERABLE_ERROR.

Revision tags: php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 907476f3 05-Jul-2015 Aaron Piotrowski

Convert E_ERROR to thrown Error in extensions

Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# 609f05fc 08-Mar-2015 Reeze Xia

ZTS cleanup

Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38, POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 7f52978c 29-Jan-2015 Yasuo Ohgaki

Remove excessive macros

Revision tags: php-5.5.21
# e6c8640a 21-Jan-2015 Yasuo Ohgaki

WIP - test passes

Revision tags: php-5.6.5, php-5.4.37
# fc33f52d 15-Jan-2015 Xinchen Hui

bump year

# 0579e827 15-Jan-2015 Xinchen Hui

bump year

Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal

Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things

Revision tags: php-5.6.4RC1, php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34, php-5.5.18RC1, php-5.6.1, php-5.6.2
# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/

# bccc6531 19-Sep-2014 Dmitry Stogov

Avoid double IS_INTERNED() check

Revision tags: php-5.4.33, php-5.5.17, php-5.6.1RC1, php-5.5.17RC1, php-5.4.33RC1, php-5.6.0, POST_AST_MERGE, PRE_AST_MERGE
# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1

Revision tags: POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32
# 63d3f0b8 19-Aug-2014 Anatol Belski

basic macro replacements, all at once

Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31, php-5.4.31RC1, php-5.5.15RC1
# 8ce2f2ca 08-Jul-2014 Dmitry Stogov

Merge branch 'master' into phpng

* master:
Fix still broken session test. Only return true/false.
Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
F

Merge branch 'master' into phpng

* master:
Fix still broken session test. Only return true/false.
Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
Followup fix to custom session save handlers
create locales and re-add test
rm test for now

Conflicts:
ext/session/tests/session_set_save_handler_class_012.phpt

show more ...


# 7c248975 07-Jul-2014 Sara Golemon

Followup fix to custom session save handlers

2d9885c introduced some regressions. This addresses those.

* Don't throw return type notice or session write failure when in an excep

Followup fix to custom session save handlers

2d9885c introduced some regressions. This addresses those.

* Don't throw return type notice or session write failure when in an exception
* Fix tests to properly return true/false since null is no longer falsy/successy
* Rerecord a few tests to accomodate difference in raised warnings

show more ...

# bce6a36c 07-Jul-2014 Dmitry Stogov

Merge branch 'master' into test

* master: (48 commits)
change locale - looks like not everybody has sl_SI
Fix bug #66921 - Wrong argument type hint for function intltz_from_date_

Merge branch 'master' into test

* master: (48 commits)
change locale - looks like not everybody has sl_SI
Fix bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone
fix format
Fix bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting)
Make sure the generator script also creates a newline at the end of file
Add newline at end of file to prevent compilation warning
Fix handling of session user module custom handlers.
Reference bug report instead of github issue in NEWS file
add more exts for Travis
Update NEWS
Fix phpdbg.1 man page installation when build != src directory
BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir)
reorder
restore API compatibility
finish
refactor php_stream_temp_create{,_ex} and use it for the php://input stream
refactor _php_stream_fopen_{temporary_,tmp}file()
fix length overflow of HTTP_RAW_POST_DATA
Update NEWS
Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault happen)
...

Conflicts:
ext/opcache/zend_accelerator_util_funcs.c
ext/session/mod_user.c
ext/spl/spl_array.c
ext/spl/spl_dllist.c
ext/standard/file.c
ext/standard/streamsfuncs.c
ext/standard/string.c
main/streams/memory.c

show more ...


Revision tags: php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13
# 2d9885c8 15-May-2014 Sara Golemon

Fix handling of session user module custom handlers.

According to the documentation, returning TRUE from
user based session handlers should indicate success,
while returning FALSE sh

Fix handling of session user module custom handlers.

According to the documentation, returning TRUE from
user based session handlers should indicate success,
while returning FALSE should indicate failure.

The existing logic relied on casting the return value
to an integer and returning that from the function.
However, the internal handlers use SUCCESS/FAILURE
where SUCCESS == 0, and FAILURE == -1, so the following
behavior map occurs:

return false; => return 0; => return SUCCESS
return true; => return 1; => return <undefined>

Since the session API checks against FAILURE,
both boolean responses wind up appearing like "not FAILURE".

This diff reasserts boolean responses to behave as
documented and introduces some special handling
for integer responses of 0 and -1 so that code can be
written for older and newer versions of PHP.

show more ...

12345