Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-kimoto committed Oct 7, 2013
1 parent ff3161d commit b5e1cd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Gitprep.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ has 'smart_http';

use constant BUFFER_SIZE => 8192;

$ENV{MOJO_MAX_MESSAGE_SIZE} = 1024 * 1024 * 100;

sub startup {
my $self = shift;

Expand Down
3 changes: 3 additions & 0 deletions templates/smart-http/service.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
return;
}
}
warn $body;

# Read
my ($cout, $cerr) = (Symbol::gensym, Symbol::gensym);
Expand Down Expand Up @@ -51,9 +52,11 @@
while (sysread($handle, $buf, $buffer_size)) {
if ($handle == $cerr) {
$error .= $buf;
warn "error $buf";
}
else {
$output .= $buf;
warn "output $buf";
}
}
$s->remove($handle) if eof($handle);
Expand Down

0 comments on commit b5e1cd9

Please sign in to comment.