Skip to content

Commit

Permalink
started is not used from everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Sep 6, 2009
1 parent e6ce844 commit 6da7013
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/PlackX/Request/BodyParser.pm
Expand Up @@ -109,10 +109,6 @@ sub _prepare_uploads {


# by HTTP::Engine::Role::RequestBuilder::ReadBody
sub _read_start {
my ( $self, $state ) = @_;
$state->{started} = 1;
}

sub _read_to_end {
my ( $self, $state, @args ) = @_;
Expand Down Expand Up @@ -146,8 +142,6 @@ sub _read_all {
sub _read {
my ($self, $state) = @_;

$self->_read_start($state) unless $state->{started};

my ( $length, $pos ) = @{$state}{qw(content_length read_position)};

my $remaining = $length - $pos;
Expand Down

0 comments on commit 6da7013

Please sign in to comment.