projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bump dep
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine
/
HTTP.pm
diff --git
a/lib/Catalyst/Engine/HTTP.pm
b/lib/Catalyst/Engine/HTTP.pm
index
30ddbc4
..
97cd8d6
100644
(file)
--- a/
lib/Catalyst/Engine/HTTP.pm
+++ b/
lib/Catalyst/Engine/HTTP.pm
@@
-68,7
+68,8
@@
sub finalize_headers {
# Should we keep the connection open?
my $connection = $c->request->header('Connection');
- if ( $self->options->{keepalive}
+ if ( $self->options
+ && $self->options->{keepalive}
&& $connection
&& $connection =~ /^keep-alive$/i
) {