google / nginx-sxg-module

NGINX SXG module
Apache License 2.0
80 stars 18 forks source link

Error gracefully on too-large subresponses #92

Open twifkak opened 3 years ago

twifkak commented 3 years ago

If a subrequest response is larger than subrequest_output_buffer_size, the main response is empty. Instead, that particular preload URL should be omitted (since it wasn't possible to compute header-integrity), and the rest of processing should continue.