Problems with HTTP/2

Aapo Talvensaari aapo.talvensaari at gmail.com
Mon Sep 28 17:59:23 UTC 2015


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( ... )));


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.


Regards
Aapo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150928/bfb71231/attachment.html>


More information about the nginx mailing list