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