Commit Graph

32 Commits

Author SHA1 Message Date
Antony Dovgal
658743f7b9 fix #40392 (memory leaks in PHP milter SAPI)
we should have dropped this SAPI years ago
2007-03-28 10:06:54 +00:00
Antony Dovgal
17efa1aea6 fix #40083 2007-01-10 14:10:28 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
20241fe16a - 2004 -> 2005 2005-08-03 11:12:19 +00:00
Rasmus Lerdorf
fdaa130f3a Add the new request_time sapi struct entry to all the sapis. Some of these
may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
2004-12-20 19:33:41 +00:00
Ilia Alshanetsky
e81addb5ca C++ comments. 2004-04-29 12:59:26 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar
db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Sebastian Bergmann
2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
Harald Radi
0c4dc0afdf update todo 2002-12-08 19:05:43 +00:00
Harald Radi
3be2fdd14a initial checkin 2002-12-08 19:05:02 +00:00
Harald Radi
8529f3ba95 damn milter api:
"Furthermore, since there is not a one-to-one correspondence between
 threads and connections (N connections mapped onto M threads,
 M <= N), connection-specific data must be accessed through the handles
 provided by the Milter library."

which in other words means php_request_startup() and the corresponding
php_request_shutdown() will never be called for the same thread
2002-12-03 16:26:57 +00:00
Harald Radi
bf16a54f5a fix typos and make example more useful 2002-12-03 14:43:43 +00:00
Jon Parise
6be496f44e Correct the punctuation of these error messages. 2002-12-02 00:21:15 +00:00
Harald Radi
3fb36b0c56 example 2002-12-01 20:29:14 +00:00
Harald Radi
e25b194525 rename callbacks to fit the original name 2002-12-01 20:28:54 +00:00
Harald Radi
b460dfc042 initial checkin 2002-12-01 19:55:48 +00:00
Harald Radi
9d5e55f790 if the api functions are called, check if they're valid in that context
reopen file per request, so milter doesn't hang. PHPA or APC can be used to speed the milter up
added a milter_init callback to init the milter before it is registered
added protos to make sniper happy
2002-12-01 19:50:07 +00:00
Harald Radi
8c19b754f9 first working version 2002-12-01 16:37:59 +00:00
Harald Radi
db93856c07 check for libmilter path 2002-12-01 13:44:22 +00:00
Harald Radi
e4bc32fbe2 no message 2002-12-01 13:36:53 +00:00
Harald Radi
1356e60fa3 no message 2002-12-01 12:23:47 +00:00
foobar
e178bdc1ee Fix build 2002-12-01 05:14:56 +00:00
Harald Radi
0244ca1d97 it finally compiles now
tests will follow tomorrow
2002-12-01 03:37:49 +00:00
Harald Radi
b7b5ca519f fix build 2002-12-01 02:45:30 +00:00
Harald Radi
39e03b580b todo or not todo 2002-12-01 01:36:26 +00:00
Harald Radi
3a0a2411c7 added remaining functions, still untested, still having problems with config.m4 2002-12-01 01:18:48 +00:00
Harald Radi
ad6333654e Sendmail Milter SAPI
initial version
2002-12-01 00:21:10 +00:00