On Android, set TMPDIR before calling configure
[catagits/fcgi2.git] / perl / ChangeLog
1 Release history for FCGI
2
3 Version 0.75 --  2014-07-17
4
5    o deprecated APIs removed (chansen)
6    o broken PP implementation removed (chansen)
7    o retooled distribution so FCGI.pm and FCGI.xs exist as-is, rather than
8      being generated by FCGI.PL and FCGI.XL (chansen)
9
10 Version 0.74 --  24 Sep 2011 <rafl@debian.org>
11    o Stop leaking information across requests when using the deprecated
12      and undocumented old FCGI interface. This is CVE-2011-2766.
13    o Only discard input stream if FCGI_KEEP_CONN is set in
14      FCGI_BeginRequestBody flags.
15
16 Version 0.73 --  19 May 2011 <rafl@debian.org>
17    o Stop claiming we ship a file called -e in the MANIFEST.
18
19 Version 0.72 --  19 May 2011 <rafl@debian.org>
20    o Clean up Makefile.PL and restore compatibility with recent
21      ExtUtils::MakeMaker versions.
22
23 Version 0.71_03 --  28 Apr 2011 <bobtfish@bobtfish.net>
24    o Remove support for sfio which is an optional (and not enabled by default)
25      compile option to perl that is never used.
26    o Fix FCGI::Stream::READ() to warn() instead of croak() incase of
27      wide characters which cannot be gracefully downgraded.
28    o Fix warnings due to wide characters being mangled to note that accepting
29      them is deprecated and will stop working at some point.
30    o Various fixes to FCGI::Stream::READ() to improve handling of error and
31      edge cases.
32      - croak if called with invalid number of arguments
33      - croak if length is negative
34      - croak if offset is outside string
35      - pad scalar if offset is greater than length
36    o Fix in FCGX_Finish_r to discard any remaining data in input stream
37      which otherwise ends up in next request. This fixes multiple requests
38      being broken if something goes wrong whilst reading the initial request.
39      This discarding is done silently, as RFC 3875 says a script is not
40      obliged to read any of the data.
41    o Fixed indent style and braces to be consistent, swapped tabs for spaces
42      in indenting.
43
44 Version 0.71_02 --  28 Apr 2011 <bobtfish@bobtfish.net>
45    o Change the Request function to pass FAIL_ON_INTR into the XS
46      RequestX function. This prevents the fcgi C client code from
47      looping around their accept() call. This change means that
48      when using CGI::Fast, and the process recieves SIGTERM or
49      SIGHUP, the error statusis correctly passed back up, allowing process
50      managers (such as FCGI::ProcManager) to correctly handle cleanly exiting.
51
52 Version 0.71_01 --   24 Aug 2010 <bobtfish@bobtfish.net>
53    o Restore old behavior when un-downgradeable uft8 is sent to FCGI.
54      The first time this happens, a warning will be issued, but subsequently
55      the bytes will be sent through raw (causing double encoding etc).
56      If the character string can be downgraded safely, then it will still be.
57      use warnings FATAL => 'utf8'; can be used to make undowngradeable strings
58      throw an exception.
59    o Fix PRINT retval (Closes: RT#57697).
60
61 Version 0.71 --      1 Apr 2010  <rafl@debian.org> Florian Ragwitz
62     o Fix some more defined(%hash) warnings on perl 5.12.
63
64 Version 0.70 --     22 Mar 2010  <bobtfish@bobtfish.net> Tomas Doran
65     o Fix use of defined %hash which becomes deprecated in perl 5.12
66
67 Version 0.69 --     15 Feb 2010  <mst@shadowcat.co.uk> Matt S Trout
68     o No changes since the previous development release.
69
70 Version 0.68_02 --   13 Jan 2010  <mst@shadowcat.co.uk> Matt S Trout
71     o Make the PRINT method return a boolean value rather than the
72           number of bytes written, previous patch was incorrect.
73
74 Version 0.68_01 --   10 Jan 2010  <mst@shadowcat.co.uk> Matt S Trout
75     o Force signal handler installation so that we correctly install handlers
76       for SIGPIPE. Fixes RT#5100 <bobtfish@bobtfish.net>
77     o Make the PRINT method return the number of bytes written rather than
78       undef to be consistent with the IO:: interface. Fixes RT#24347
79       <David Dick>
80     o Fix UTF-8 double encoding when FCGI is passed octets by downgrading
81       them into bytes correctly. Fixes RT#52400 <chansen@cpan.org>
82
83 Version 0.68 --     31 Dec 2009  <mst@shadowcat.co.uk> Matt S Trout
84     o No changes since the previous development release.
85
86 Version 0.67_01 --   20 Dec 2009  <mst@shadowcat.co.uk> Matt S Trout
87     o Add FILENO method which returns a defined but invalid value to
88       placate things such as IPC::Run which call fileno to check if a
89       filehandle is open.
90       Closes bugs:
91       http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544540
92       http://rt.cpan.org/Public/Bug/Display.html?id=50972
93       Removes need for upstream patch in OpenBSD <bobtfish@bobtfish.net>
94     o Call the fcgi lib's attach/detach <robs@fastcgi.com>
95
96 Version 0.67 --    22 December 2002   <skimo@kotnet.org> Sven Verdoolaege
97
98     o Fixes for pure perl version based on report and patch
99       from "Kurtis D. Rader" <kdrader@us.ibm.com>
100     o FCGI_UndoBinding perl 5.8.0 compatibility
101       Reported by Marko Asplund <aspa@kronodoc.fi>
102     o Fix problem with fcgi_config.h on win32.
103       Reported by Igor Franchuk <softdep@rol.ru>
104     o Add minimal tests
105
106 Version 0.66 --    5 September 2002   <skimo@kotnet.org> Sven Verdoolaege
107
108     o perl 5.8.0 compatibility fix by Autrijus
109     o library fixes from Rob
110
111 Version 0.65 --    19 February 2002   <skimo@kotnet.org> Sven Verdoolaege
112
113     o fix perl 5.005 compatibility problem
114     o fix strict warning
115
116 Version 0.64 --    25 September 2001   <skimo@kotnet.org> Sven Verdoolaege
117 Version 0.63 --    24 September 2001   <skimo@kotnet.org> Sven Verdoolaege
118
119     o Update build process
120
121 Version 0.62 --    21 September 2001   <skimo@kotnet.org> Sven Verdoolaege
122
123     o Move version number to separate file
124
125 Version 0.61 --    20 September 2001   <skimo@kotnet.org> Sven Verdoolaege
126
127     o Fix refcounting bug
128     o Add GetEnvironment for pure version
129     o Add LastCall method
130     o Allow filehandle for Request's socket parameter
131     o library fixes  ("Rob Saccoccio" <robs@chelsea.net>)
132
133 Version 0.60 --    8 July 2001   <skimo@kotnet.org> Sven Verdoolaege
134
135     o Allow specification of purity on command line
136         (suggested by Rob Brown <rbrown@about-inc.com>)
137     o Fix bug in pure perl implementation
138     o Don't try to compile anything on pure perl build
139     o Add BINMODE method
140     o Add comment on socket permissions
141
142 Version 0.59 --    31 December 2000   <skimo@kotnet.org> Sven Verdoolaege
143
144     o preliminary pure perl implementation
145     o copy win32 configuration file instead of moving it
146     o convert echo.fpl to new interface
147
148 Version 0.58 --    15 November 2000   <skimo@kotnet.org> Sven Verdoolaege
149
150     o fix bug introduced in 0.57
151
152 Version 0.57 --    12 November 2000   <skimo@kotnet.org> Sven Verdoolaege
153
154     o don't flush unbound request
155
156 Version 0.56 --    3 November 2000   <skimo@kotnet.org> Sven Verdoolaege
157
158     o add example remote.fpl
159     o provide access to the Request parameters
160     o add IsFastCGI method
161     o fix warn handler (Andrew Pimlott <pimlott@idiomtech.com>)
162
163 Version 0.55 --    18 October 2000   <skimo@kotnet.org> Sven Verdoolaege
164
165     o small documentation fix
166     o compilation issues with older perls fixed
167     o library initialization when using sockets fixed
168
169 Version 0.54 --    8 October 2000   <skimo@kotnet.org> Sven Verdoolaege
170
171     o library fixes  ("Rob Saccoccio" <robs@ipass.net>)
172     o compilation issues with newer gcc
173     o completely untested OPEN and READLINE methods
174
175 Version 0.53 --    10 July 2000   <skimo@kotnet.org> Sven Verdoolaege
176
177     o sfio version compiles again
178
179 Version 0.52 -- 12 April 2000  <skimo@kotnet.org> Sven Verdoolaege
180
181 Version 0.51 -- 12 April 2000  <skimo@kotnet.org> Sven Verdoolaege
182
183 Version 0.50 -- 10 April 2000  <skimo@kotnet.org> Sven Verdoolaege
184
185 Version 0.49 -- 9 April 2000  <skimo@kotnet.org> Sven Verdoolaege
186
187     o General clean-ups
188     o Allow attaching/detaching
189     o Changed DESTROY behaviour
190     o Fixed default warn/die handler of old interface
191     o Document new interface
192
193 Version 0.48 -- 27 August 1999  <skimo@kotnet.org> Sven Verdoolaege
194
195     o perl 5.005_60 compatibility
196     o locking on platforms that need it
197     o support for remote connections
198
199 Version 0.47 -- 31 July 1999  <skimo@kotnet.org> Sven Verdoolaege
200
201     o move PRINTF into correct package
202     o deprecated set_exit_status
203     o general cleanup, moving old non thread safe interface
204       from xs to perl
205
206 Version 0.46 -- 30 July 1999  <skimo@kotnet.org> Sven Verdoolaege
207
208     o new thread safe interface
209     o new threaded example program
210
211 Version 0.45 -- 8 March 1999  <skimo@kotnet.org> Sven Verdoolaege
212
213     o FCGI.pm now part of the devel kit
214     o library fixes  ("Rob Saccoccio" <robs@ipass.net>)
215     o allow bypassing of installation of handlers
216     o ActivePerl compatibility (Murray Nesbitt <murray@ActiveState.com>)
217
218 Version 0.43 -- 22 December 1998  <skimo@kotnet.org> Sven Verdoolaege
219
220     o POST on bigendians (Paul GABORIT <gaborit@enstimac.fr>)
221     o Some win32 changes (Monty <xiphmont@fastserv.com>)
222     o library fixes  ("Rob Saccoccio" <robs@ipass.net>)
223
224 Version 0.42 -- 28 August 1998  <skimo@kotnet.org> Sven Verdoolaege
225
226     o environ fixes ?
227     o print NULLs (Ken Alexander <kalex@eecs.umich.edu>)
228     o PRINTF support
229     o set version in FCGI.pm
230     o library fixes  ("Rob Saccoccio" <robs@ipass.net>)
231
232 Version 0.41 -- 29 July 1998  <skimo@kotnet.org> Sven Verdoolaege
233
234     o Compiles with perl 5.005
235
236 Version 0.40 -- 15 July 1998  <skimo@kotnet.org> Sven Verdoolaege
237
238     o Added default die hook
239     o Minimal documentation
240
241 Version 0.39 -- 3 July 1998  <skimo@kotnet.org> Sven Verdoolaege
242
243     o Fixed read bug
244
245 Version 0.38 -- 28 June 1998  <skimo@kotnet.org> Sven Verdoolaege
246
247     o Fixed flush bug
248     o Added default warn hook
249
250 Version 0.37 -- 27 June 1998  <skimo@kotnet.org> Sven Verdoolaege
251
252     o More support for tied handles
253     o Added flush function
254
255 Version 0.36 -- 23 June 1998  <skimo@kotnet.org> Sven Verdoolaege
256
257     o More support for tied handles (GETC and autoflushing)
258
259 Version 0.35 -- 22 June 1998  <skimo@kotnet.org> Sven Verdoolaege
260
261     o Added forgotten typemap
262
263 Version 0.34 -- 17 June 1998  <skimo@kotnet.org> Sven Verdoolaege
264
265     o No longer force sfio less compile
266     o Update os_unix.c from fcgi2.0b2.1
267     o Small documentation changes
268
269 Version 0.33 -- 16 June 1998  <skimo@kotnet.org> Sven Verdoolaege
270
271     o More support for tied handles
272
273 Version 0.32 -- 16 June 1998  <skimo@kotnet.org> Sven Verdoolaege
274
275     o Preliminary support for tied handles (doesn't require sfio)
276     o Force sfio less compile
277     o Changed protoype of set_exit_status
278
279 Version 0.31 -- 13 July 1997  <skimo@breughel.ufsia.ac.be> Sven Verdoolaege
280
281     o Applied solaris accept patch from
282       Chip Salzenberg <chip@rio.atlantic.net>
283     o Preliminary support glibc's cookie mechanism
284
285 Version 0.30 -- 24 June 1997  <skimo@dns.ufsia.ac.be> Sven Verdoolaege
286
287     o Added forgotten library files
288
289 Version 0.29 -- 10 June 1997 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
290
291     o Updated library files from fastcgi 2.02b
292     o Use installed library/include file if found
293
294 Version 0.28 -- 24 February 1997 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
295
296     o Intialization of %ENV did not change environ. Fixed.
297       Problem reported by Jan Drehmer <Jan.X.Drehmer@telia.se>
298
299 Version 0.26 -- 19 February 1997 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
300
301     o Flush output when $| is set to eliminate a problem reported
302       by echo@echo.cica.fr
303
304 Version 0.25 -- 13 October 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
305
306     o Eliminate some warnings
307     o Check whether perl is compiled with sfio support
308
309 Version 0.25 -- 25 September 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
310
311     o First public release
312     o Additional bugfixes
313
314 Version 0.21 -- 20 September 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
315
316     o Bugfix
317
318 Version 0.2 -- 19 September 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
319
320     o First Version based on sfio
321
322 Version 0.1 -- 12 June 1996
323
324     o Original version from Open Market's FastCGI Developer's Kit