Laravel Vapor Response Streaming

80 views Asked by At

I currently have a docker image in a Lambda Function, using laravelphp/vapor:php82. I am returning a streamed response from OpenAI's API, back to the browser. On a normal server, this works fine. But when I deploy into AWS using Laravel Vapor, the response is buffered, even when I configure output_buffering to off and implicit_flush to on.

What must I do to disable output buffering?

0

There are 0 answers