Nikita Popov
2687be6589
Merge branch 'PHP-7.2'
2018-01-24 21:22:50 +01:00
Michael Orlitzky
3fe9e10a1b
ext/session: catch incompatible configure flags earlier.
...
The session extension has a --with-mm flag that tells it to build
the mm backend ("mm" is the name of the library). However, that
backend is not thread-safe, and mod_mm.c will refuse to compile if
the --enable-maintainer-zts flag was also passed to the configure
script.
Rather than crash halfway through the build, this commit adds a check
to the session extension's config.m4 file. If both --with-mm and
--enable-maintainer-zts are "on," then the configure script will
die and explain that they can't be used together.
PHP-bug: 14269
2018-01-24 21:22:15 +01:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-01-03 14:38:00 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Dmitry Stogov
83e495e0fd
Move constants into read-only data segment
2017-12-14 22:14:36 +03:00
Dmitry Stogov
f98721b4e0
Intern auto global name strings in first place
2017-11-29 17:10:51 +03:00
Dmitry Stogov
ccc12b82da
Avoid unnecessary reference-counting on strings.
2017-11-16 17:09:32 +03:00
Nikita Popov
a57f370e59
Clarify bin_to_readable code
...
I got a bit of a scare when I first saw this code. Turns out that
the way it's used inlen==outlen and that's why it works.
2017-11-14 21:37:22 +01:00
Kalle Sommer Nielsen
c34ba92782
Get rid of all these old package[2].xml files, most of these had no had a release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl
...
OCI, PDO_OCI and zip are left as they are actively developed and released there
2017-08-17 22:09:29 +02:00
Anatol Belski
0d1eeeb68d
move zend_ato*() to size_t and remove casts
2017-07-28 14:59:31 +02:00
Anatol Belski
6aa9c1911b
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:21:48 +02:00
Anatol Belski
9ff4801159
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:21:20 +02:00
Anatol Belski
eaf5c7cdd4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:20:48 +02:00
Anatol Belski
bd00fe81cc
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:19:41 +02:00
dreamsxin
072ef62f6e
Add warning for change session id when session is active
2017-07-25 09:27:58 +01:00
Sergei Morozov
9b9184a45a
Fixed bug #74941 - Session fails to start after having headers sent
2017-07-20 07:52:02 +01:00
Sergei Morozov
5b12b46a19
Fixed bug #74936 - session_*() functions trigger a warning in read mode when the session is active
2017-07-18 22:25:22 +02:00
Andrew Nester
6c32d271d2
Fixed #74892 - Fixed URL rewriting for urls started with #
2017-07-18 21:20:03 +02:00
Yasuo Ohgaki
a2d766503a
Fixed bug #74514 5 session functions incorrectly warn when calling in read-only/getter mode
2017-07-01 03:32:54 +09:00
Nikita Popov
035a27cbc6
Only compute callback name in error cases
...
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
2017-06-25 18:45:59 +02:00
Xinchen Hui
8f2d3539f2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed tests when using cumstom php.ini(session.save_handler)
Fix Bug #74541 Wrong reflection on session_start()
2017-05-09 11:15:32 +08:00
Xinchen Hui
05c90e5994
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed tests when using cumstom php.ini(session.save_handler)
Fix Bug #74541 Wrong reflection on session_start()
2017-05-09 11:14:40 +08:00
Xinchen Hui
1b22e9dc2e
Fixed tests when using cumstom php.ini(session.save_handler)
2017-05-09 11:13:41 +08:00
Fabien Villepinte
b39c70b4a7
Fix Bug #74541 Wrong reflection on session_start()
2017-05-08 22:42:09 +02:00
Nikita Popov
7cba31535c
Separate array in session upload progress
2017-01-23 17:19:12 +00:00
Joe Watkins
71a42477ca
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Update comment, incorrect since 224aaf94
2017-01-19 10:49:09 +00:00
SjonHortensius
631861e1fa
Update comment, incorrect since 224aaf94
...
In 224aaf94; the warning was enabled; making the comment above incorrect. I've updated the comment to reflect the current code
2017-01-19 10:48:54 +00:00
Rasmus Lerdorf
aa5713f773
Set a session path for this test
2017-01-10 15:18:36 -05:00
Rasmus Lerdorf
c7ef178e86
Set a session path for this test
2017-01-10 15:18:26 -05:00
Rasmus Lerdorf
190c303a1a
Missing %s
2017-01-10 13:51:58 -05:00
Rasmus Lerdorf
9fce263f3b
Missing %s
2017-01-10 13:50:49 -05:00
Mitch Hagstrand
06c8538f87
Fixes for session and fpm tests to make them more reliable in Travis CI
...
1. Increased the timeout on sapi/fpm tests to match the cli server
2. Fixed user session GC function to return number of sessions removed
3. Disabled session GC in session_set_save_handler_basic.phpt
2017-01-07 07:13:44 +00:00
Joe Watkins
f60ebd13b3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixes for session and fpm tests in PHP7.0 branch
2017-01-07 07:10:46 +00:00
Mitch Hagstrand
3401f553b9
Fixes for session and fpm tests in PHP7.0 branch
...
1. Increased the timeout on sapi/fpm tests to match the cli server
2. Disabled session GC in session_set_save_handler_basic.phpt
3. Fixed GC in save_handler.inc to delete files based on age
2017-01-06 19:55:57 -08:00
Joe Watkins
969622cddf
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #69582 session not readable by root in CLI
2017-01-06 06:08:38 +00:00
Joe Watkins
811dfaa57b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #69582 session not readable by root in CLI
2017-01-06 06:07:17 +00:00
Joe Watkins
b0ff9ee688
Merge branch 'pull-request/1360' into PHP-7.0
...
* pull-request/1360:
Fixed bug #69582 session not readable by root in CLI
news entry for PR #1360
2017-01-06 06:05:17 +00:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Nikita Popov
52da05c535
Merge branch 'PHP-7.1'
2017-01-01 21:17:00 +01:00
Nikita Popov
a5027d43dd
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 21:09:27 +01:00
Nikita Popov
935b5cb11e
Flush stderr on win32 in cli_log_message
...
This allows us to unfork a bunch of tests for Windows.
2017-01-01 21:09:02 +01:00
Joe Watkins
15b80f105c
Merge branch 'pull-request/2261'
...
* pull-request/2261:
Add PHPAPI php_session_flush and php_session_destroy
2017-01-01 06:44:14 +00:00
dreamszhu
e10425fe8b
Add PHPAPI php_session_flush and php_session_destroy
2017-01-01 07:30:22 +08:00
dreamszhu
f7f32ba422
Add PHPAPI for session class entry
2016-12-31 18:03:58 +08:00
Anatol Belski
f8aa57ab2f
fix uninitialized value
2016-12-27 23:43:49 +01:00
Graham Campbell
22f3695fe1
Fixed typo in "session_module_name"
2016-12-27 22:01:19 +01:00
Anatol Belski
0d31433111
fork tests
2016-12-26 21:38:27 +01:00