Skip to content

upstream sent too big header while reading response header from upstream #46

@indykoning

Description

@indykoning

Once installed, on certain pages Nginx will throw upstream sent too big header while reading response header from upstream and cause 502s.
After looking into it, this module might have a hand in it due to the amount of links it can add in a bloated Magento install.

I've ran into it myself making a similar extension for Laravel.
My solution was to implement a configurable size limit which removes links until the size limit is reached.
https://github.com/justbetter/laravel-http3earlyhints/blob/76f012e994cabde3b8f4c75889704546747ae760/src/Middleware/AddHttp3EarlyHints.php#L149

I think this might be a nice solution for this package as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions