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