Zeev Suraski
357dfd5f14
Support multiple chunked output buffering layers
2001-08-31 15:56:48 +00:00
Zeev Suraski
5c1c22764a
Fix double freeing
2001-08-31 15:16:15 +00:00
Zeev Suraski
13ff183225
Move the trans-sid mechanism to use the output buffering mechanism.
...
Advantages:
- Would work with the output buffering mechanism in general, and with
output compression in particular
- Should yield better performance (untested as of yet)
2001-08-25 15:57:42 +00:00
Zeev Suraski
e077c6bc28
Make it possible to enable chunked output buffering without providing
...
an output handling function
2001-08-11 22:55:00 +00:00
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Sascha Schumann
aafdfe82cb
further tsrm cleanup
2001-08-05 14:36:51 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
2001-07-31 06:28:05 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Zeev Suraski
6f297a370a
Fix Windows build
2001-07-20 14:40:30 +00:00
Zeev Suraski
13ac04b8e5
Avoid getting bailouts on text output during shutdown. Text output is now
...
'officially' disabled during shutdown (this doesn't change the Apache module
behavior, but may change behavior of other server modules, in which it was
possible to emit output during shutdown; I think it's a good step towards
consistency, though)
2001-07-20 13:59:00 +00:00
Thies C. Arntzen
5676e5ad05
use ZVAL_* macros
2001-07-11 15:27:37 +00:00
Sascha Schumann
ef13ab5750
Improve url scanner speed (up to 40% for large chunks of data)
...
and handle some corner cases better. The scanner has been changed
to the format as proposed in "RE2C - A More Versatile Scanner Generator"
by Cowan et al.
2001-07-04 15:30:21 +00:00
Zeev Suraski
551f1831a7
Fix a major thread safety bug in the output mechanism
...
@- Fixed a major memory corruption bug in the thread safe version (Zeev)
2001-07-02 18:17:10 +00:00
Zeev Suraski
f35b85b4c1
Fix bug #11678
2001-06-26 18:30:31 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Andrei Zmievski
daefeb59d5
Kill warning.
2001-05-29 20:32:57 +00:00
Andi Gutmans
4ddb24366f
- Fix problem of output initialization
2001-05-23 16:52:45 +00:00
Andi Gutmans
177934732b
- Start nuking not needed GINIT
2001-05-22 19:19:04 +00:00
Zeev Suraski
ff11c36dc5
Avoid crashing if somehow, output is sent in a new thread tha had no requests
2001-05-07 22:00:13 +00:00
Anil Madhavapeddy
d26ec12ba2
Free the correct output buffer, to avoid a segfault on a HEAD request
...
when using output buffering with a custom handler (patch by zeev@)
2001-04-02 16:45:27 +00:00
Zeev Suraski
b865380edb
Fix headers handling with output buffering
2001-03-31 22:53:19 +00:00
André Langhorst
7d50e21a4b
fix typo
2001-03-28 20:08:49 +00:00
André Langhorst
339ac67ce3
fix proto
2001-03-28 19:41:38 +00:00
Zeev Suraski
34b2fc4a6c
Fix the output buffering bug Andre found
2001-03-17 03:03:50 +00:00
Zeev Suraski
9a04f870ab
Fix freeing of buffers
2001-03-06 19:38:33 +00:00
Zeev Suraski
93e9e7521a
Fixes to internal output buffering
2001-03-06 18:29:00 +00:00
Zeev Suraski
0ece429a16
More internal output buffering fixes
2001-03-06 16:28:51 +00:00
Zeev Suraski
20d2432c86
Fix internal output buffering
2001-03-06 16:25:14 +00:00
Zeev Suraski
13a97fefeb
Initial work on internal output handlers - should be much quicker
2001-03-06 15:54:49 +00:00
Zeev Suraski
a22ada795f
Improve memory consumption on chunked output buffering
2001-03-04 15:46:13 +00:00
Zeev Suraski
c64fe7fbe1
Fix non-thread safe mode
2001-03-04 01:45:19 +00:00
Zeev Suraski
0a98aa6ada
Improve chunked output buffering - the output handler now knows at which stage it is
2001-03-04 01:09:36 +00:00
Zeev Suraski
b8787bf2d8
Fix chunked output buffering support
2001-02-27 00:09:14 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sascha Schumann
7eb8469679
Avoid possible memory leak in the URL scanner, if the connection is
...
interrupted during writing the output.
2001-01-09 16:45:19 +00:00
Zeev Suraski
888f376e4c
Very initial work on chunked output buffering. It's really unoptimized at
...
this time, and it can crash under some circumstances, but that's the
concept...
2000-11-23 18:43:18 +00:00
Kristian Köhntopp
89d6b5b5bd
Prototype corrected.
2000-11-12 22:13:35 +00:00
Zeev Suraski
816f1f7903
- Fixed a bug that caused PHP not to properly flush its output buffer, if more
...
than one output buffer was used
2000-11-02 16:46:30 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
Sascha Schumann
2517250b35
The type has changed to size_t.
2000-10-26 18:10:57 +00:00
Sterling Hughes
9f86ff884f
@Add a php.ini option session.use_trans_sid to enable/disable trans-sid. (Sterling)
2000-09-04 22:21:10 +00:00
Andi Gutmans
e47d4fe249
- Increase buffers of output buffering to 40KB and 10KB increments which
...
makes more sense when web pages are typically like 10KB-20KB.
I think it would be best to change the reallocation algorithm at least to
redoubling when it's full instead of incrementing and possibly use
a data structure similar to Zend/zend_static_allocator which uses memory
blocks and not realloc().
2000-09-03 19:57:06 +00:00
Zeev Suraski
2183e2b0be
Make gcc happy
2000-09-03 15:58:50 +00:00
Zeev Suraski
48f13455be
Fix init bug
2000-09-03 15:56:54 +00:00
Zeev Suraski
cf8e389799
@- Added support for an optional output handler function for output
...
@ buffering. This enables transparent rendering of XML through XSL,
@ transparent compression, etc. (Zeev)
2000-09-02 18:03:58 +00:00