History log of /PHP-5.6/main/output.c (Results 151 – 175 of 251)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.2.1RC2
# fe127f93 04-May-2002 Zeev Suraski

We shouldn't force Content-length:, but much worse, it's wrong in many
cases (basically, unless you use output buffering to buffer all of your content,
it won't work; output buffering is use

We shouldn't force Content-length:, but much worse, it's wrong in many
cases (basically, unless you use output buffering to buffer all of your content,
it won't work; output buffering is used for lots of different things as a
functional interface, and such buffers have no relation to Content-type at
all).

show more ...


# 707b8b01 04-May-2002 Sascha Schumann

Free string before overwriting it


# 9743860d 04-May-2002 Sascha Schumann

simplify handling of variables by maintaining two strings which
are simply appended instead of traversing the hash table on each
URL/form.

also fix an unconditional segfault in rshut

simplify handling of variables by maintaining two strings which
are simply appended instead of traversing the hash table on each
URL/form.

also fix an unconditional segfault in rshutdown due to efree'ing
a static char *.

remove remove_var, add reset_vars. move the function declarations
into the right header file.

show more ...


# ae828233 04-May-2002 Yasuo Ohgaki

Forgot to dup strings.


# b1b5e422 04-May-2002 Yasuo Ohgaki

Fixed reference to freed zval string value.


# dfc48de0 04-May-2002 Yasuo Ohgaki

Fixed crash when buffer is over written in ob callback. (Bug $ 12227)
Added check current output function check for Centent-Length header.
@ Fixed output buffer crash when buffer is over writ

Fixed crash when buffer is over written in ob callback. (Bug $ 12227)
Added check current output function check for Centent-Length header.
@ Fixed output buffer crash when buffer is over written in callback. (Yasuo)

show more ...


# 9712a4b3 03-May-2002 Thies C. Arntzen

@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
@ and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so i

@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
@ and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so it doesn't
need to fiddle with the output-system any more

show more ...


# 5b83e929 02-May-2002 Yasuo Ohgaki

Change nest level to send Content-Length again. It seems this is the
best setting for now.

PHP will not send Content-Length always. It only sends when it is
possible to send. output_

Change nest level to send Content-Length again. It seems this is the
best setting for now.

PHP will not send Content-Length always. It only sends when it is
possible to send. output_buffer=0 is supposed to disable chunked
output, but it seems it does not disable. It also behaves a litte
strange way. This should be addressed someday.

It is possible Content-Length header is not set. If it happens, try to
increase chunk size for now. (i.e. output_buffer=40960)

I included a little debug code for me and other develpers to play with,
when (NestLevel==1 && ObStatus==5), PHP sends Content-Length.

show more ...


# 1103311e 02-May-2002 Yasuo Ohgaki

Fixed header output. Only need to output header when it is actually sent to client.


# 8ee815ec 02-May-2002 Yasuo Ohgaki

Check buffer status


# f61b795a 02-May-2002 Yasuo Ohgaki

Make Content-Type output always correct.
# Flushing buffer is needed to be fixed properly anyway...


# 43df0c78 02-May-2002 Yasuo Ohgaki

Move Content-Length: header handling from zlib.c to output.c
When output buffer is enabled and header can be sent, Content-Length:
header is added always from now on.


Revision tags: php-4.2.1RC1
# 68e5f549 24-Apr-2002 Stanislav Malyshev

Init output_start_* to avoid "output started at ZZZZZ" messages
(which may result when output started while zend is neither compiling nor
executing - e.g., when file upload fails).


Revision tags: php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1, help
# 57472aa3 04-Mar-2002 Jon Parise

Silence warning under Solaris 8 (WorkShop Compilers 5.0 98/12/15 C 5.0).


# bff90c71 02-Mar-2002 Hartmut Holzgraefe

typo fix


# 46bb7e00 01-Mar-2002 Yasuo Ohgaki

Do explicit test againt to FAILURE.
# Thanks Rasmus.


# 82a8d372 01-Mar-2002 Yasuo Ohgaki

Added ob_get_status() to get array of buffers and it's status.
(DO NOT document this function yet)

Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
buffers that m

Added ob_get_status() to get array of buffers and it's status.
(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)

show more ...


Revision tags: php-4.1.2
# 88e3aa7a 07-Feb-2002 Yasuo Ohgaki

Legacy code removed.
This line incorrectly removes buffer.
This line was correct only when ouput.c does not support
nested output buffers. Fixed bug #15178


# a3e676f6 05-Feb-2002 Yasuo Ohgaki

pval -> zval
Check number of parameters


Revision tags: BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH, php-4.1.1, PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.


Revision tags: php-4.1.0, php-4.1.0RC5
# 1f14640b 03-Dec-2001 Derick Rethans

- Added ob_get_level, which returns the nesting level of the output buffering
mechanism. (patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>)
@- Added ob_get_level, which returns the nesting le

- Added ob_get_level, which returns the nesting level of the output buffering
mechanism. (patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>)
@- Added ob_get_level, which returns the nesting level of the output buffering
@ mechanism. (Yasuo, Derick)

show more ...


Revision tags: php-4.1.0RC4
# 9190271c 30-Nov-2001 Derick Rethans

- Added ob_flush and ob_clean functions, which do not end the buffer like
ob_end_flush and ob_end_clean do.
@- Added ob_flush and ob_clean functions, which flush and clean an
@ output

- Added ob_flush and ob_clean functions, which do not end the buffer like
ob_end_flush and ob_end_clean do.
@- Added ob_flush and ob_clean functions, which flush and clean an
@ output buffer without destroying the buffer. (Derick)

show more ...


Revision tags: php-4.1.0RC3, php-4.1.0RC2, POST_PARAMETER_PARSING_API, PRE_PARAMETER_PARSING_API, php-4.1.0RC1, php4, php-4.0.7RC3, POST_SUBST_Z_MACROS
# c0332885 25-Sep-2001 Jeroen van Wolffelaar

Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.


Revision tags: PRE_SUBST_Z_MACROS
# 78747bd2 09-Sep-2001 Derick Rethans

- Don't wrap lines... this is annoying while coding.


Revision tags: php-4.0.7RC2
# 357dfd5f 31-Aug-2001 Zeev Suraski

Support multiple chunked output buffering layers


1234567891011