Skip to content

Commit

Permalink
Setting open_http2_protocol without HTTP-CHUNK (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Apr 18, 2024
1 parent 2a12bc8 commit d7fc48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Swoole/SwooleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ protected function sendResponseContent(OctaneResponse $octaneResponse, SwooleRes
return;
}

if ($length <= $this->chunkSize) {
if ($length <= $this->chunkSize || config('octane.swoole.options.open_http2_protocol', false)) {
$swooleResponse->end($content);

return;
Expand Down

0 comments on commit d7fc48a

Please sign in to comment.