| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Let users decided whether users want larger chunk size or not.
@ Changed zlib.output_compression behavior. If larger chunk is preferred,
enable output_buffering also. (Marcus, Yasuo)
|
|
|
|
|
|
| |
We're better to take some benchmarks see if removing extra buffer
is actually a good idea or not.
|
|
|
|
|
| |
minor fixs
|
| |
|
| |
|
|
|
|
| |
parameter...
|
|
|
|
|
|
|
|
|
|
| |
Disables zlib.output_compression for scripts with image/ content-type
header (fixes bug #16109) and makes it possible to switch
zlib.output_compression during script execution before the headers are
sent.
@- zlib.output_compression is disabled for "image/" content-type
@ headers and can be changed during script execution. (Stefan)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
compressed output as with obgzhandler().
@ If zlib.output_compression is enabled and a page is compressed
@ a "Vary: Accept-Encoding" header is added. (Stefan)
# obgzhandler() sends this header, I think it is recommened by
# RFC 2616. If there are problems (e.g. with some browsers)
# it should be reverted.
|
|
|
|
|
|
| |
When output buffer is enabled and header can be sent, Content-Length:
header is added always from now on.
|
|
|
|
|
| |
Noticed by: Charles O Parks III
|
| |
|
|
|
|
| |
(thies)
|
|
|
|
|
|
| |
Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2://
Tidy up old socket/network code/comments.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
|
| |
|
| |
|
|
|
|
|
| |
Setting the size before returning the value in readgzfile
|
|
|
|
|
|
| |
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago
|
| |
|
| |
|
|
|
|
|
| |
# Collecting underpants
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in ext/standard/file.c, so a gzopen()ed file pointer can be used in
fread, fseek etc.
Improved behaviour of zlib stream.
Moved passthru code into streams.c
# I'm not happy about BG(mmap_file)
Nuked gzgetss_state as no longer needed.
|
|
|
|
|
| |
Move state tracking to stream structure.
|
|
|
|
|
|
| |
Add some logic that will help track down leaks
when debug is enabled.
|
| |
|
|
|
|
|
|
| |
There's probably room for improvement,
docs will following some time this week.
|
|
|
|
|
|
| |
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make
|
| |
|
|
|
|
|
|
| |
leaking streams should be easier.
# I hate these big commits
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(gzencode(string data [, int level [, int encoding_mode]])),
should fix #15930.
@- The second parameter of gzencode() now is the compression level like
@ in the documentation. The encoding mode is a third (optional) parameter.
# Rework of gzencode(), output should be closer to real gzip output.
# I think in the old version there could be some problems with
# this function and output compression, should be fixed, too.
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed prototype and added test for #14939.
# We have extra \0 if the input comes directly from gzdeflate()
# so give one extra byte as length to workaround behaviour of zlib.
# I want to avoid copying the input, but if there are problems,
# please tell (see my message <20020310175611.GA4472@stefan.roehri.ch> to
# php-dev).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(DO NOT document this function yet)
Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
buffers that may not be deleted.
php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for
if the buffer created may be deleted or not.
Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
deleted until script finshes.
Changed ob_*() function that have void return type to bool. All ob_*()
functions return TRUE for success, FALSE for failure.
@ - Added ob_get_status() to get array of buffers and it's status. (Yasuo)
@ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
@ buffers that may not be deleted. (Yasuo)
@ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
@ deleted until script finshes. (Yasuo)
@ - Changed ob_*() function that have void return type to bool. All ob_*()
@ functions return TRUE for success, FALSE for failure. (Yasuo)
|
| |
|
| |
|
|
|
|
| |
zlib.output_compression is set to off.
|
| |
|
| |
|
|
|
|
|
|
| |
zlib.output_compression is on
- Added notes to the bundled php.ini files about this.
|
|
|
|
|
|
| |
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
|
|
|
|
|
| |
I've got pretty much everything now...
|
|
|
|
| |
isn't optimal, it parses for example var->zval.value incorrect) please let me know.
|
| |
|
| |
|
| |
|