Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tidy up a little
  • Loading branch information
jberger committed Mar 12, 2016
1 parent 6fe5224 commit 6cb1172
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,6 +1,6 @@

6.56 2016-03-12
- Fix keep-alive bug. (jberger)
- Fixed keep-alive bug. (jberger)

6.55 2016-03-08
- Deprecated Mojo::Server::Morbo::check in favor of
Expand Down
2 changes: 0 additions & 2 deletions lib/Mojo/UserAgent.pm
Expand Up @@ -237,9 +237,7 @@ sub _finish {
return $new->client_read($old->res->content->leftovers);
}

# Finish connection
$self->_reuse($id, $close);

if ($res->is_status_class(400) || $res->is_status_class(500)) {
$res->error({message => $res->message, code => $res->code});
}
Expand Down

0 comments on commit 6cb1172

Please sign in to comment.