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

2013-12-22 Thread bahaa
I think it's a bug. Quote from spdy2 spec: "Receivers of a PING frame should send an identical frame to the sender as soon as possible (if there is other pending data waiting to be sent, PING should take highest priority)." Bahaa Aidi Posted at Nginx Forum: http://forum.ngi

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

2013-12-22 Thread bahaa
eues 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 Posted at Nginx Forum: http://forum.nginx.org/read.php?2