Corrected FILENO implementation to return undef if stream is closed otherwise -1.
[catagits/fcgi2.git] / perl / ChangeLog
CommitLineData
a1abb8b1 1Version 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
86193cd4 7Version 0.73 -- 19 May 2011 <rafl@debian.org>
8 o Stop claiming we ship a file called -e in the MANIFEST.
9
c08ec3df 10Version 0.72 -- 19 May 2011 <rafl@debian.org>
86193cd4 11 o Clean up Makefile.PL and restore compatibility with recent
12 ExtUtils::MakeMaker versions.
1e48c05a 13
81da377d 14Version 0.71_03 -- 28 Apr 2011 <bobtfish@bobtfish.net>
039957ac 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.
f85665ba 34
f3081520 35Version 0.71_02 -- 28 Apr 2011 <bobtfish@bobtfish.net>
f85665ba 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
895366e1 43Version 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).
9a03f456 51
1fc13922 52Version 0.71 -- 1 Apr 2010 <rafl@debian.org> Florian Ragwitz
53 o Fix some more defined(%hash) warnings on perl 5.12.
54
12737b7a 55Version 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
ab618b03 58Version 0.69 -- 15 Feb 2010 <mst@shadowcat.co.uk> Matt S Trout
59 o No changes since the previous development release.
60
bb664680 61Version 0.68_02 -- 13 Jan 2010 <mst@shadowcat.co.uk> Matt S Trout
02e74f89 62 o Make the PRINT method return a boolean value rather than the
63 number of bytes written, previous patch was incorrect.
64
5beb50f7 65Version 0.68_01 -- 10 Jan 2010 <mst@shadowcat.co.uk> Matt S Trout
9ab74998 66 o Force signal handler installation so that we correctly install handlers
67 for SIGPIPE. Fixes RT#5100 <bobtfish@bobtfish.net>
29829dde 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>
c9234f83 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
ed436fed 74Version 0.68 -- 31 Dec 2009 <mst@shadowcat.co.uk> Matt S Trout
75 o No changes since the previous development release.
76
77Version 0.67_01 -- 20 Dec 2009 <mst@shadowcat.co.uk> Matt S Trout
0bbb6895 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
b123beee 84 Removes need for upstream patch in OpenBSD <bobtfish@bobtfish.net>
b9218112 85 o Call the fcgi lib's attach/detach <robs@fastcgi.com>
fdee298f 86
b9218112 87Version 0.67 -- 22 December 2002 <skimo@kotnet.org> Sven Verdoolaege
fa6b48c9 88
b9218112 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
fa6b48c9 96
b9218112 97Version 0.66 -- 5 September 2002 <skimo@kotnet.org> Sven Verdoolaege
6c287a7c 98
b9218112 99 o perl 5.8.0 compatibility fix by Autrijus
100 o library fixes from Rob
6c287a7c 101
b9218112 102Version 0.65 -- 19 February 2002 <skimo@kotnet.org> Sven Verdoolaege
385793d2 103
b9218112 104 o fix perl 5.005 compatibility problem
105 o fix strict warning
385793d2 106
b9218112 107Version 0.64 -- 25 September 2001 <skimo@kotnet.org> Sven Verdoolaege
108Version 0.63 -- 24 September 2001 <skimo@kotnet.org> Sven Verdoolaege
d1a01413 109
b9218112 110 o Update build process
d1a01413 111
b9218112 112Version 0.62 -- 21 September 2001 <skimo@kotnet.org> Sven Verdoolaege
812fe74a 113
b9218112 114 o Move version number to separate file
812fe74a 115
b9218112 116Version 0.61 -- 20 September 2001 <skimo@kotnet.org> Sven Verdoolaege
f6854a73 117
b9218112 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>)
f6854a73 123
b9218112 124Version 0.60 -- 8 July 2001 <skimo@kotnet.org> Sven Verdoolaege
7bb01969 125
b9218112 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
420df423 132
b9218112 133Version 0.59 -- 31 December 2000 <skimo@kotnet.org> Sven Verdoolaege
c620a324 134
b9218112 135 o preliminary pure perl implementation
136 o copy win32 configuration file instead of moving it
137 o convert echo.fpl to new interface
48cdf763 138
b9218112 139Version 0.58 -- 15 November 2000 <skimo@kotnet.org> Sven Verdoolaege
dd2ef7d9 140
b9218112 141 o fix bug introduced in 0.57
dd2ef7d9 142
b9218112 143Version 0.57 -- 12 November 2000 <skimo@kotnet.org> Sven Verdoolaege
b5424f47 144
b9218112 145 o don't flush unbound request
a635480d 146
b9218112 147Version 0.56 -- 3 November 2000 <skimo@kotnet.org> Sven Verdoolaege
08f60269 148
b9218112 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>)
9915cd6d 153
b9218112 154Version 0.55 -- 18 October 2000 <skimo@kotnet.org> Sven Verdoolaege
6b0686c2 155
b9218112 156 o small documentation fix
157 o compilation issues with older perls fixed
158 o library initialization when using sockets fixed
96514004 159
b9218112 160Version 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
166Version 0.53 -- 10 July 2000 <skimo@kotnet.org> Sven Verdoolaege
167
168 o sfio version compiles again
37a69de1 169
170Version 0.52 -- 12 April 2000 <skimo@kotnet.org> Sven Verdoolaege
171
794c66be 172Version 0.51 -- 12 April 2000 <skimo@kotnet.org> Sven Verdoolaege
173
174Version 0.50 -- 10 April 2000 <skimo@kotnet.org> Sven Verdoolaege
175
d2900ee8 176Version 0.49 -- 9 April 2000 <skimo@kotnet.org> Sven Verdoolaege
177
b9218112 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
d2900ee8 183
184Version 0.48 -- 27 August 1999 <skimo@kotnet.org> Sven Verdoolaege
6b312a77 185
b9218112 186 o perl 5.005_60 compatibility
187 o locking on platforms that need it
188 o support for remote connections
6b312a77 189
d8cc97fb 190Version 0.47 -- 31 July 1999 <skimo@kotnet.org> Sven Verdoolaege
191
b9218112 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
d8cc97fb 196
cebfd7c4 197Version 0.46 -- 30 July 1999 <skimo@kotnet.org> Sven Verdoolaege
198
b9218112 199 o new thread safe interface
200 o new threaded example program
cebfd7c4 201
202Version 0.45 -- 8 March 1999 <skimo@kotnet.org> Sven Verdoolaege
203
b9218112 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>)
cebfd7c4 208
1b64d24d 209Version 0.43 -- 22 December 1998 <skimo@kotnet.org> Sven Verdoolaege
210
b9218112 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>)
1b64d24d 214
215Version 0.42 -- 28 August 1998 <skimo@kotnet.org> Sven Verdoolaege
216
b9218112 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>)
1b64d24d 222
223Version 0.41 -- 29 July 1998 <skimo@kotnet.org> Sven Verdoolaege
224
b9218112 225 o Compiles with perl 5.005
1b64d24d 226
227Version 0.40 -- 15 July 1998 <skimo@kotnet.org> Sven Verdoolaege
228
b9218112 229 o Added default die hook
230 o Minimal documentation
1b64d24d 231
232Version 0.39 -- 3 July 1998 <skimo@kotnet.org> Sven Verdoolaege
233
b9218112 234 o Fixed read bug
1b64d24d 235
236Version 0.38 -- 28 June 1998 <skimo@kotnet.org> Sven Verdoolaege
237
b9218112 238 o Fixed flush bug
239 o Added default warn hook
1b64d24d 240
241Version 0.37 -- 27 June 1998 <skimo@kotnet.org> Sven Verdoolaege
242
b9218112 243 o More support for tied handles
244 o Added flush function
1b64d24d 245
246Version 0.36 -- 23 June 1998 <skimo@kotnet.org> Sven Verdoolaege
247
b9218112 248 o More support for tied handles (GETC and autoflushing)
1b64d24d 249
250Version 0.35 -- 22 June 1998 <skimo@kotnet.org> Sven Verdoolaege
251
b9218112 252 o Added forgotten typemap
1b64d24d 253
254Version 0.34 -- 17 June 1998 <skimo@kotnet.org> Sven Verdoolaege
b9218112 255
256 o No longer force sfio less compile
257 o Update os_unix.c from fcgi2.0b2.1
258 o Small documentation changes
1b64d24d 259
260Version 0.33 -- 16 June 1998 <skimo@kotnet.org> Sven Verdoolaege
261
b9218112 262 o More support for tied handles
1b64d24d 263
264Version 0.32 -- 16 June 1998 <skimo@kotnet.org> Sven Verdoolaege
265
b9218112 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
1b64d24d 269
270Version 0.31 -- 13 July 1997 <skimo@breughel.ufsia.ac.be> Sven Verdoolaege
271
b9218112 272 o Applied solaris accept patch from
273 Chip Salzenberg <chip@rio.atlantic.net>
274 o Preliminary support glibc's cookie mechanism
1b64d24d 275
276Version 0.30 -- 24 June 1997 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
277
b9218112 278 o Added forgotten library files
1b64d24d 279
280Version 0.29 -- 10 June 1997 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
281
b9218112 282 o Updated library files from fastcgi 2.02b
283 o Use installed library/include file if found
1b64d24d 284
285Version 0.28 -- 24 February 1997 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
286
b9218112 287 o Intialization of %ENV did not change environ. Fixed.
288 Problem reported by Jan Drehmer <Jan.X.Drehmer@telia.se>
1b64d24d 289
290Version 0.26 -- 19 February 1997 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
291
b9218112 292 o Flush output when $| is set to eliminate a problem reported
293 by echo@echo.cica.fr
1b64d24d 294
295Version 0.25 -- 13 October 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
296
b9218112 297 o Eliminate some warnings
298 o Check whether perl is compiled with sfio support
1b64d24d 299
300Version 0.25 -- 25 September 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
301
b9218112 302 o First public release
303 o Additional bugfixes
1b64d24d 304
305Version 0.21 -- 20 September 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
306
b9218112 307 o Bugfix
1b64d24d 308
309Version 0.2 -- 19 September 1996 <skimo@dns.ufsia.ac.be> Sven Verdoolaege
310
b9218112 311 o First Version based on sfio
1b64d24d 312
313Version 0.1 -- 12 June 1996
314
b9218112 315 o Original version from Open Market's FastCGI Developer's Kit