File: ToDo

package info (click to toggle)
libapache-mod-perl 1.26-3.0woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,832 kB
  • ctags: 1,321
  • sloc: perl: 7,571; ansic: 5,480; sh: 375; makefile: 145
file content (242 lines) | stat: -rw-r--r-- 8,088 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
---------------------------------------------------------------------------
SHORT TERM STUFF (this section should always be empty in a release version!)
                 (well, close to it anyhow)
---------------------------------------------------------------------------

... core bugs ...

- readdir() broken with glibc 2.2

- PERL5LIB foo

- 1.25 Apache::ExtUtils fix broke elsewhere (doug cannot reproduce)

- warn() going to the wrong log?

- From: Andy Wardley <abw@cre.canon.co.uk>
  Subject: Problems with SERVER_MERGE and DIR_MERGE

- $r->args parsing of one=&two=2

- From: Adi Fairbank <adi@certsite.com>
  Subject: Re: two identical directives in <Perl> configuration

- segfaults with DBI->connect (mysql), reported that downgrade to
  1.21_03 cures

- need to revisit send_http_header and r->status again, patch to
revert to old behavior from [Julian Gilbey <J.D.Gilbey@qmw.ac.uk>]

- Apache->server->register_cleanup

- PerlSetEnv scoping [Roman Maeder <maeder@mathconsult.ch>]

- %LocationMatch <Perl> bug [Michael J Schout <mschout@gkg.net>]

... core enhancements ...

- option to startup with something other than /dev/null

- PerlChildInitHandler should not be allowed inside <VirtualHost>

- rid Apache->can_stack_handlers, make Apache->can('push_handlers') work

- fileno(STD{IN,OUT}) should be r->connection->client->fd or
  fileno(std{in,out}), rather than hardcoded fileno(stdout)

- close STDERR;

- {get,set}_handlers troubles [Geoffrey Young <gyoung@laserlink.net>]
  see also: http://perl.apache.org/~dougm/set_handlers.pat

... modules ...

- 1.25 change did not work for:
  From: Wenzhong Tang <Tang@appliant.com>
  Subject: RE: Prototype mismatch in Apache::PerlRun line 343

- Apache::FakeRequest improvments [Gary Richardson <gary@atdot.org>]

- From: Dave Rolsky <autarch@urth.org>
  Subject: Apache::test patch

- IPC::Open3 no workie

- From: JR Mayberry <jr.mayberry@e-vend.net>
  Subject: Apache::Status problems?..CGI::Cookie, (dont want no CGI.pm) (?)

... build items ...

- xsubpp -nolinenumbers is not supported with 5.004

- 'make test' as root permissions problems

- USE_APXS=1 + DYNAMIC=1 do not work together

- support SSL_BASE=SYSTEM (i.e. test -d $SSL_BASE in Makefile.PL)

- disable PERL_SSI unless mod_include is listed in httpd -l
  and Action unless mod_action, etc.

... docs ...

- remove eg/ directory, it's way out of date and no longer needed now
  with the guide, the books, and piles of Apache::* modules

- document Apache::Status Apache::Request preference over CGI.pm
  and make it more clear that Apache::Status should not be used in a
  production environment, as it adds quite a bit of bloat

- docs: update CREDITS, cleanup install docs

---------------------------------------------------------------------------
POSSIBLE NEW FEATURES
---------------------------------------------------------------------------

- require +ExecCGI for <Perl> in .htaccess, etc.

- hooking up PL_check (-c) to ap_configtest_only

- consider making PERL_USELARGEFILES=0 by default

- add Filter::Call support to Apache::RegistryNG (or subclass of)

- PerlEval directive [Salvador Ortiz Garcia <sog@msg.com.mx>]

- add srand stuff ?

- new Apache::FakeRequest [Rafael Kitover <caelum@debian.org>]

- something like 2.0's Apache::BuildConfig for testing build options

- replace Apache::StatINC with Apache::ModuleReload?

- CHECK blocks? [Michael J Schout <mschout@gkg.net>]
  INIT blocks?  [T.J. Mather <tjmather@anidea.com>]

- see if possible to have the dso libperl.so be named something else,
  e.g. libmodperl.so 
  [Eugene B. Byrganov <E.B.Byrganov@inp.nsk.su]

- Support of <CR> <LF> in a EBCDIC environment
[Ignasi Roca <ignasi.roca@fujitsu.siemens.es>]

- rename PerlSendHeader?

- think about making 'use Apache::Log ()' automatic

- coderef to $r->custom_response
[Randal L. Schwartz <merlyn@stonehenge.com>]

- Apache::PerlRun::flush_namespace should be re-written in c

- Jeffrey W. Baker's Apache::Util::escape_html() replacement

- Apache::Connection keepalive methods [Joe Schaefer <joe@sunstarsys.com>]

---------------------------------------------------------------------------
CONFIG STUFF
---------------------------------------------------------------------------

- do something about FreshRestart+dso ? (vivek)

- PERL_STATIC_EXTS doesnt work with USE_APACI=1

- ldopts() spits out ccdlflags when linker is ld

- Makefile.PL should always push load_modules.pl for 'make test' 

- need turn of strip of httpd during 'make install' ?

- linkage problem w/ mod_auth_dbm (-ldbm)
 Config.pm New: libs='-lsocket -lnsl -ldl -lm -lc -lcrypt -ldb'
 Was:           libs='-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt'
 SunOS mailhost.cmc.net 5.5 Generic_103093-17 sun4m sparc sun4m
             brian moore <bem@cmc.net>

- ExtUtils::Embed/ExtUtils::Liblist clash sometime w/
  PERL_STATIC_EXTS, like so: 
 Unrecognized argument in LIBS ignored:
 '/opt/oracle/product/7.3.3/lib/libclient.a' 

 Note (probably harmless): No library found for -l:libcma.sl

 -Wl,-E -Wl,-B,deferred -L/usr/local/lib
 /home/web/perl5/lib/site_perl/portable/auto/DBD/Oracle/Oracle.a 
 /home/  etc etc ...
           mark rostron <useny036@IMATION.COM>
           Brian Slesinsky <bslesins@best.com>

- From: brian moore <bem@CMC.NET>
  As Apacheweek reported a couple weeks ago, 'some' modules on Solaris have
  problems with the mutex locking method used by 1.3b5.  One of which is
  mod_perl.  To make it work I had to -DUSE_FCNTL_SERIALIZED_ACCEPT or
  the server would never answer a request.

---------------------------------------------------------------------------
MISC BUGS
---------------------------------------------------------------------------

- Apache->request($r) digs the request_rec out of $r regardless of the 
  type/class, e.g. Apache->request(bless {r => $r}, 'My::Apache')

- $r->finfo problem with HTML::Mason::ApacheHandler
  [Shane Adams <shane@viralon.com>]

- "$ENV{FOO} = 'foo'" is cleared from the %ENV array, but left in the
  environ[], making it visible to subprocesses.
  perl_util.c:perl_clear_env() only deletes from %ENV on purpose to
  prevent other problems.  need to rethink this.

- recursion triggered by internal_redirect() called by a pushed handler
[Ashish Goyal <ashishg@linux-delhi.org>]

- Gerald's report of Embperl/sub-request/print breakage

- /perl/perl-status?sig dumps core under hpux 10.20
   [David-Michael.Lincke@unisg.ch]

- $r cannot use many api methods during ChildInit/ChildExit -> SEGV

- bytes_sent are not logged if header don't go through send_http_header(), 
  e.g CGI->header(-nph => 1, ...)
              Eric Cholet <cholet@logilune.com>

- SIGALRM/flock, Lincoln Stein <lstein@cshl.org>
 I often use this type of code to handle possibly blocked flocks():

        local($timed_out) = 0;
        local($SIG{ALRM}) = sub { $timed_out++; die "timed out"; }
        alarm(5);
        eval {
                flock(FH,LOCK_EX);
        }
        alarm(0);
        if ($timed_out) {
           print "We timed out.  Sorry.";
        }

 This has been working in standalone CGI scripts, but no longer works
 in mod_perl.  The signal handler gets called, but then the flock()
 call seems to be restarted. It never exit the eval.  So this is no big 
 deal, I just replace the blocking flock() with a poll.

- perl_config should not av_shift ARRAY refs from
  %Apache::ReadConfig::

- die and AUTOLOADed DESTROY == empty $@ (Perl or mod_perl bug?)

---------------------------------------------------------------------------
KNOWN MODULE BUGS
---------------------------------------------------------------------------

- can't multiple Apache::Include->virtual in a single request

- files that have been created after the server's (child?) startup are
  being reported with negative age with -M test under Apache::Registry. 
  The workaround is to add $^T = time; at the beginning of the scripts. But
  it would be much better if the Apache::Registry will do that 

- Apache::Include->virtual should return run() value, not status()

- libapreq: Apache::Cookie format sync w/ CGI.pm