History log of /PHP-7.0/sapi/cli/php_cli_server.c (Results 26 – 50 of 216)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# dbd02ad2 10-Jan-2015 Rasmus Lerdorf

Fix bug #68784


# 5065505c 10-Jan-2015 Rasmus Lerdorf

Fix bug #68784


# e4b3d623 10-Jan-2015 Rasmus Lerdorf

Fix bug #68784


# 448ef30f 06-Jan-2015 Adam Harvey

Handle NULL strings in sapi_cli_server_register_variable().

Fixes bug #68745 (Invalid HTTP requests make web server segfault).


# e20cbdbe 15-Dec-2014 Andrea Faulds

Unify HTTP status code maps


# 79504296 15-Dec-2014 Andrea Faulds

Revert HTTP status codes merger

This reverts commits 65768edcf3ef27a21a07e5e994bfd9ca1cabfa94, 627b350f31be83eb1d5ac5fad692256dcfaf1281 and 9c18ad3ac9103bc0a6c7b7ab8938fd7272095652.


# 9c18ad3a 14-Dec-2014 Andrea Faulds

fixed tests, bugs in status codes merger


# 65768edc 06-Nov-2014 Andrea Faulds

Share HTTP status codes map


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


Revision tags: 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, 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, POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32, 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
# 2534671f 11-Jul-2014 nil0x42

Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified c

Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).

show more ...


# 2a73d56e 11-Jul-2014 nil0x42

Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified c

Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).

show more ...


# a8730024 11-Jul-2014 nil0x42

Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified c

Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).

show more ...


# 940e6914 10-Nov-2014 Anatol Belski

fix var usage only when unistd.h available


# c3471cc1 10-Nov-2014 Anatol Belski

cleanup unused variable


# 88ba5a62 10-Nov-2014 Anatol Belski

do portable socket checks

also introduced a portable macro for that


# 8aeffdd7 15-Oct-2014 Anatol Belski

moved most of the core to use static tsrm ls cache pointer

plus apache2handler, cli and cgi


# c00424e4 15-Oct-2014 Anatol Belski

bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream


# 65eb8ef8 13-Oct-2014 Anatol Belski

fix several datatype mismatch warnings


# aa627174 26-Sep-2014 Anatol Belski

cleanup direct tsrm_ls passing


# d11734b4 25-Sep-2014 Anatol Belski

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.

show more ...


# 4db75dc8 22-Sep-2014 Anatol Belski

basic windows fix


# e33f3d3b 20-Sep-2014 Nikita Popov

Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just m

Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.

show more ...


# 403709aa 20-Sep-2014 krakjoe

fix wrong doings


123456789