laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.73k stars 289 forks source link

Roadrunner upload limit setting #837

Closed barisyild closed 5 months ago

barisyild commented 5 months ago

Roadrunner gives error "413 (payload too large)" when I try to upload a file.

Is there a section in the config where I can set this value? If not, what is the way to increase this limit?

driesvints commented 5 months ago

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

barisyild commented 5 months ago

The original config has a 256 mb limit but octane doesn't even allow uploading 9 mb files.

https://github.com/roadrunner-server/roadrunner/blob/master/.rr.yaml#L643

barisyild commented 5 months ago

Merhaba,

Raporladığınız için teşekkürler, ancak bu bir destek kanalında sorulabilecek bir soru gibi görünüyor. Lütfen bu sorun izleyiciyi hataları kitaplığın kendisiyle bildirmek için kullanın. Bu repo tarafından sağlanan işlevselliği nasıl kullanacağınız hakkında bir sorunuz varsa, aşağıdaki kanallardan birini deneyebilirsiniz:

Ancak, bu sorun kilitlenmeyecek ve herkes hala sorununuza yönelik çözümleri tartışmakta özgür!

Teşekkürler.

Why can't this be a feature suggestion? Swoole upload limit can be set in config. Why not the roadrunner too?

package_max_length

https://laravel.com/docs/10.x/octane#swoole-configuration