History log of /PHP-8.0/sapi/cgi/cgi_main.c (Results 126 – 150 of 615)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4dc99457 20-Nov-2014 Veres Lajos

typo fixes - https://github.com/vlajos/misspell_fixer

Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c

typo fixes - https://github.com/vlajos/misspell_fixer

Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c
ext/pcre/pcrelib/sljit/sljitLir.h
ext/pcre/pcrelib/sljit/sljitNativeARM_32.c
ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c
ext/pgsql/pgsql.c
ext/phar/func_interceptors.c
ext/soap/soap.c
ext/standard/image.c

show more ...


# aff66a94 15-Oct-2014 Anatol Belski

don't define tsrm ls in SAPIs under linux

as it's compiled statically with the core


# 8aeffdd7 15-Oct-2014 Anatol Belski

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

plus apache2handler, cli and cgi


# 97319bc8 13-Oct-2014 Anatol Belski

fix signed/unsigned mismatch


# 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 ...


# 6a5c0068 23-Sep-2014 krakjoe

correct macro


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


# 5cf17fc8 14-Sep-2014 Anatol Belski

reduce struct size by 8 byte on 64 bit


# b75a0588 14-Sep-2014 Anatol Belski

fix ftell/fseek calls


# 6561d03a 08-Sep-2014 Dmitry Stogov

Added ability to make a number of "warmup" requests before an actual benchmark.
(php-cgi -T [<number-of-warmup-requests>,]<number-of-benchmark-requests> <file>)


# 59848e3f 25-Aug-2014 Nikita Popov

Remove ZEND_ACC_INTERACTIVE and CG(interactive)

As far as I can discern these are leftovers of the interactive
shell implementation that was used before PHP 5.4. Now the readline
ext

Remove ZEND_ACC_INTERACTIVE and CG(interactive)

As far as I can discern these are leftovers of the interactive
shell implementation that was used before PHP 5.4. Now the readline
ext makes use of normal eval calls for this.

So, dropping these until there is evidence to the contrary, as they
currently wouldn't work anyway.

show more ...


# 4d997f63 25-Aug-2014 Anatol Belski

master renames phase 3


# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1


# 21f623e9 19-Aug-2014 Anatol Belski

ported fcgi


# babeca35 13-Aug-2014 Johannes Schlüter

It's 2014 already, fix copyright year where user visible

Left out all file headers


# c1c913c5 13-Aug-2014 Dmitry Stogov

cleanup (we don't have to duplicate elements of module_registry)


# c2082ece 25-May-2014 Xinchen Hui

Fixed apply_func_t (they should be broken before)


# c242518b 08-May-2014 Xinchen Hui

There should been memory leaks(and don't use pointer cast)


# 257bf697 26-Apr-2014 Nikita Popov

Fix php-cgi -m


# 72c287bd 21-Apr-2014 Dmitry Stogov

Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word


# 050d7e38 15-Apr-2014 Dmitry Stogov

Cleanup (1-st round)


# 99d1a1bb 11-Apr-2014 Bob Weinand

Shut up, my lovely compiler; I do not like your warnings


Revision tags: php-5.6.0beta1, php-5.4.27, php-5.5.11, php-5.5.11RC1, php-5.4.27RC1
# 1b6327fd 17-Mar-2014 Dmitry Stogov

Fixed string length


Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3, php-5.4.26RC1, php-5.5.10RC1
# 5de71156 18-Feb-2014 Dmitry Stogov

Use better data structures (incomplete; able to run bench.php)


12345678910>>...25