projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ac93c09
)
Gave options hash a default value to allow older server scripts to still work
Andy Grundman [Mon, 17 Oct 2005 19:11:54 +0000 (19:11 +0000)]
lib/Catalyst/Engine/HTTP.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Engine/HTTP.pm
b/lib/Catalyst/Engine/HTTP.pm
index
7adbcb0
..
8d5cf44
100644
(file)
--- a/
lib/Catalyst/Engine/HTTP.pm
+++ b/
lib/Catalyst/Engine/HTTP.pm
@@
-111,6
+111,8
@@
sub read_chunk {
sub run {
my ( $self, $class, $port, $host, $options ) = @_;
+ $options ||= {};
+
our $GOT_HUP;
local $GOT_HUP = 0;