Welcome! Log In Create A New Profile

Advanced

Re: bug in spdy - 499 response code on long running requests

December 22, 2013 07:12AM
I noticed the same behavior when sending long running requests (>10secs) from chrome with nginx running as a reversy proxy with spdy enabled. What happens is that chrome sends a PING frame, then sends the request, then if it doesn't get a PING reply it will close the connection and resend the request.
You can see the handling of PING failure here:
http://git.chromium.org/gitweb/?p=chromium/src/net.git;a=blob;f=http/http_network_transaction.cc;h=a6d50699c0f1854036772b67c2a0ea1b1e62ae63;hb=HEAD#l1409

The reason chrome isn't getting a PING reply within 10secs is because nginx queues the ping reply and doesn't send it until it gets a response from upstream.
I added a call to ngx_http_spdy_send_output_queue() in ngx_http_spdy_state_ping() to send the PING reply immediately and it solved the problem.

Bahaa Aidi
SubjectAuthorPosted

bug in spdy - 499 response code on long running requests

Anonymous UserJune 23, 2013 01:31AM

Re: bug in spdy - 499 response code on long running requests

Valentin V. BartenevJune 24, 2013 10:22AM

Re: bug in spdy - 499 response code on long running requests

Anonymous UserJune 24, 2013 11:26PM

Re: bug in spdy - 499 response code on long running requests

bahaaDecember 22, 2013 07:12AM

Re: bug in spdy - 499 response code on long running requests

Anonymous UserDecember 22, 2013 05:47PM

Re: bug in spdy - 499 response code on long running requests

bahaaDecember 22, 2013 06:19PM

Re: bug in spdy - 499 response code on long running requests

Valentin V. BartenevDecember 23, 2013 09:12AM

Re: bug in spdy - 499 response code on long running requests

nanneApril 15, 2014 12:50PM

Re: bug in spdy - 499 response code on long running requests

Valentin V. BartenevApril 15, 2014 01:14PM

Re: bug in spdy - 499 response code on long running requests

nanneApril 16, 2014 06:23AM

Re: bug in spdy - 499 response code on long running requests

Valentin V. BartenevApril 16, 2014 07:20AM

Re: bug in spdy - 499 response code on long running requests

nanneApril 16, 2014 08:01AM

Re: bug in spdy - 499 response code on long running requests

Anonymous UserOctober 12, 2013 01:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 82
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready