History log of /PHP-7.4/sapi/cli/php_cli_server.c (Results 76 – 100 of 257)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# 31e84247 19-Sep-2014 Nikita Popov

Make number printing functions less generic

Now that zend_ulong is 64bit on 64bit platforms, it should be
sufficient to always use it, rather than supporting multiple
types.

Make number printing functions less generic

Now that zend_ulong is 64bit on 64bit platforms, it should be
sufficient to always use it, rather than supporting multiple
types.

API changes:
* _zend_print_unsigned_to_buf and _zend_print_signed_to_buf
no longer exist.
* smart_str(ing)_print_long and smart_str(ing)_print_unsigned
no longer exist.
* Instead of all these, zend_print_ulong_to_buf and
zend_print_long_to_buf should be used.
* smart_str_append_generic_ex no longer exists.
* smart_str(ing)_append_off_t(_ex) no longer exists, use
smart_str(ing)_append_long(_ex) instead.

show more ...


# 37aaccad 19-Sep-2014 Nikita Popov

Use inline functions for most of smart_str

smart_str_free_ex no longer exists, always use smart_str_free instead.

smart_str_alloc no longer requires a newlen variable to be in scope

Use inline functions for most of smart_str

smart_str_free_ex no longer exists, always use smart_str_free instead.

smart_str_alloc no longer requires a newlen variable to be in scope,
instead it returns the new length.

show more ...


# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


# 455741fc 25-Aug-2014 Anatol Belski

master renames phase 4


# 4d997f63 25-Aug-2014 Anatol Belski

master renames phase 3


# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1


# cb25136f 16-Aug-2014 Anatol Belski

fix macros in the 5 basic extensions


# a08b7b77 13-Aug-2014 Dmitry Stogov

cleanup


1234567891011