Dmitry Stogov
701fe7630e
- Added "dechunk" filter which can decode HTTP responces with chunked transfer-encoding. HTTP streams use this filter automatically in case "Transfer-Encoding: chunked" header presents in responce. It's possible to disable this behaviour using "http"=>array("auto_decode"=>0) in stream context
...
- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked")
2009-04-16 10:34:15 +00:00
Marcus Boerger
d4f5b3f0a9
- This is PHP 6 - if this ... ever gets out
2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Nuno Lopes
e09ffb06f1
MFB: fix gcc warning
2006-09-04 19:16:21 +00:00
Ilia Alshanetsky
c270a8e627
MFB: fixed compiler warning
2006-06-01 22:42:53 +00:00
Antony Dovgal
3e5407b16d
nuke unused variable
2006-06-01 13:45:16 +00:00
Sara Golemon
04ecb8b1fd
Fix 'soft line break' handling in convert.quoted-printable-decode
2006-04-17 19:25:48 +00:00
Antony Dovgal
ba1ac82bc9
don't leak memory even though the code is not stable yet
2006-03-20 20:09:20 +00:00
Sara Golemon
48798021b5
Refactor streams layer for PHP6.
...
Don't be frightened by the size of this commit.
A significant portion of it is restoring the read buffer semantics back
to what PHP4/5 use. (Or a close aproximation thereof).
See main/streams/streams.c and ext/standard/file.c for a set of
UTODO comments covering work yet to be done.
2006-03-13 04:40:11 +00:00
Dmitry Stogov
c366cc6d1a
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
2006-03-02 13:12:45 +00:00
Antony Dovgal
c83190514f
couple of pedantic fixes: "static" should be first
2006-01-18 23:55:27 +00:00
Marcus Boerger
679fa69575
- Add stream filter 'consumed' which can restore the stream position when
...
a stream was read or written through a size changing filter.
2006-01-12 19:23:24 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Antony Dovgal
5feaae6a4c
use proper constants
2005-10-20 16:54:19 +00:00
Ilia Alshanetsky
6e37a621f8
Fixed bug #34321 (Possible crash in filter code).
2005-09-25 13:26:19 +00:00
Wez Furlong
8b7d070358
what they totally screw up on one hand, MS compilers almost compensate with on
...
the other.
2005-08-12 23:59:59 +00:00
Andrei Zmievski
264cec8be6
Unicode support.
2005-08-11 23:36:07 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Moriyoshi Koizumi
e87fe59e96
- Cleanups.
2004-07-20 19:41:37 +00:00
Moriyoshi Koizumi
e25a206e87
oops...
2004-07-20 19:35:38 +00:00
Moriyoshi Koizumi
c210c68add
- Add more null checks.
2004-07-20 18:16:36 +00:00
Moriyoshi Koizumi
3e026f08ae
- pemalloc() might return NULL.
2004-07-20 18:03:19 +00:00
Sara Golemon
d40e78ad6f
convert.* filters not consuming buckets_in on PSFS_FLUSH_*
2004-07-16 23:40:21 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
b6c0003ffd
Fix a convert filters bug that occurs when multiple buckets are coming in.
2003-12-08 00:22:22 +00:00
Sascha Schumann
436a07176c
fix format strings
2003-08-28 16:49:57 +00:00
Sascha Schumann
6a7dde29e7
kill warnings
2003-08-28 16:28:33 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
2a31fa0569
Fixed memleak
2003-04-16 15:10:01 +00:00
Moriyoshi Koizumi
6dd17c380d
Added missing sanity check
2003-04-16 14:55:25 +00:00
Moriyoshi Koizumi
49b43ad115
Changed stream filter factory to be capable of accepting a zval as a parameter
...
instead of a string
2003-04-16 14:30:25 +00:00
Moriyoshi Koizumi
9bdc86973b
Fixed a small leak in the convert filter code
2003-03-05 17:51:33 +00:00
Moriyoshi Koizumi
da0d5a11ed
Fixed my silly mistake in the filter code
2003-03-02 08:39:01 +00:00
Moriyoshi Koizumi
14db9ea88d
Fixed string.strip_tags filter so it reflects the change on php_strip_tags
2003-02-24 22:41:55 +00:00
Moriyoshi Koizumi
69113a3099
Added string.strip_tags filter.
2003-02-19 00:12:23 +00:00
Moriyoshi Koizumi
6389a79ea5
Fixed memory leaks on conversion failure.
2003-02-18 23:30:36 +00:00
Moriyoshi Koizumi
8793a78fee
Revived convert filter codes
2003-02-18 23:22:49 +00:00
Wez Furlong
32165a5546
Implement new filter API, stage 1.
...
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c
The filters stack has been separated into one chain for read and one chain
for write.
The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.
2003-02-18 01:22:21 +00:00
Ilia Alshanetsky
3d8e54f3a2
Changed php_error to php_error_docref.
2003-01-19 00:45:53 +00:00
Moriyoshi Koizumi
f71ef5e091
Fixed a quoted printable decoder so that it would conform to RFC2045.
2003-01-17 20:00:31 +00:00
Moriyoshi Koizumi
f94cbfe52b
Significant speed enhancements. I was underestimating the power of recent
...
CPUs :)
2003-01-17 09:04:02 +00:00
Moriyoshi Koizumi
93481ce9b8
Finally fixed a qp encoder bug that line break characters that appear exactly
...
at the end of the chunk lost in the output.
# I bet no more problems will occur in quoted-printable encoder.
# But I recognised the counterpart is still buggy due to RFC2045-incompliance.
2003-01-16 20:59:07 +00:00
Moriyoshi Koizumi
fdf0768d4e
Fixed a qp encoder bug that the constructor sometimes fails if
...
line-breaking mode is off.
2003-01-15 15:05:17 +00:00
Moriyoshi Koizumi
e5c5412777
Added a new option "force-encode-first" to the quoted-printable encoder
...
as per Wez's request. If enabled, the encoder forcefully does qp
tranformation on every first character of lines in incoming stream.
2003-01-14 16:42:18 +00:00
Moriyoshi Koizumi
a0be48c109
Fixed small memory leak that occurs when the invalid line length is passed
...
to the qprint ctor.
2003-01-14 01:27:57 +00:00
Moriyoshi Koizumi
121e625977
Fixed quoted-printable encoder so that it produces RFC2045 complicant
...
output. As per this specification requirement, the constructor now accepts
three options: binary (boolean), line-len (uint), line-break-chars (string).
2003-01-14 01:23:35 +00:00
Moriyoshi Koizumi
78f527e2b7
Fixed a silly segfault bug caused by lack of strict type checking
2003-01-13 11:00:22 +00:00