diff options
author | Eric Wong <e@80x24.org> | 2016-05-23 07:19:45 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-23 07:19:54 +0000 |
commit | bb38f0fcce73904e68d4cde8f9d85e9da2e93013 (patch) | |
tree | 598772755723af5a178131349140f0fd128fd777 /t | |
parent | 347c6ee595c37d4e2214cb297811f154a41c452f (diff) | |
download | public-inbox-bb38f0fcce73904e68d4cde8f9d85e9da2e93013.tar.gz |
Since PSGI does not require Transfer-Encoding: chunked or Content-Length, we cannot expect random apps we host to chunk their responses. Thus, to improve interoperability, chunk at the HTTP layer like other PSGI servers do. I'm chosing a more syscall-intensive method (via multiple send(...MSG_MORE) for now to reduce copy + packet overhead.
Diffstat (limited to 't')
-rw-r--r-- | t/git-http-backend.psgi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/git-http-backend.psgi b/t/git-http-backend.psgi index 8cec7d35..c9607143 100644 --- a/t/git-http-backend.psgi +++ b/t/git-http-backend.psgi @@ -11,7 +11,6 @@ use BSD::Resource qw(getrusage); my $git_dir = $ENV{GIANT_GIT_DIR} or die 'GIANT_GIT_DIR not defined in env'; my $git = PublicInbox::Git->new($git_dir); builder { - enable 'Chunked' if $ENV{TEST_CHUNK}; enable 'Head'; sub { my ($env) = @_; |