Gave options hash a default value to allow older server scripts to still work
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / HTTP.pm
index 7adbcb0..8d5cf44 100644 (file)
@@ -111,6 +111,8 @@ sub read_chunk {
 sub run {
     my ( $self, $class, $port, $host, $options ) = @_;
 
+    $options ||= {};
+
     our $GOT_HUP;
     local $GOT_HUP = 0;