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