Problems with HTTP/2
Valentin V. Bartenev
vbart at nginx.com
Mon Sep 28 21:01:00 UTC 2015
On Monday 28 September 2015 20:59:23 Aapo Talvensaari wrote:
> On 28 September 2015 at 19:44, Valentin V. Bartenev <vbart at nginx.com> wrote:
>
> > On Wednesday 23 September 2015 06:28:37 Aapo Talvensaari wrote:
> > >> I did get errors like:
> > >> net::ERR_SPDY_COMPRESSION_ERROR
> > > Could you provide a debug log with problematic request?
> >
>
> I tried to debug this further. And now I'm closer to what happens.
>
> If Ajax request sends a PUT request with XmlHtttpRequest I do get:
> net::ERR_SPDY_COMPRESSION_ERROR
>
> But this is only when the PHP-FPM reponds with error code:
>
> <?php
> header(':', true, 403);
> die(json_encode(array( ... )));
What does ":" mean in the header() function?
If it returns ":" as a header, then it's the cause of the error.
>
>
> Where that "..." is the array contents json_encoded. So it seems to be a
> problem with
> HTTP error codes and HTTP2. On 200 return codes it works fine.
>
> On logs, I do not get anything.
There is no way to get nothing in the debug log
if it properly configured according to the article:
http://nginx.org/en/docs/debugging_log.html
wbr, Valentin V. Bartenev
More information about the nginx
mailing list