<div dir="ltr">Hello Nginx Developers,<div><br></div><div style>I have a question about how SPDY PING message is handled by current nginx implementation.</div><div style><br></div><div style>From source code of function ngx_http_spdy_state_ping I can find that PING frame is queued like:</div>
<div style><br></div><div style><div> buf->last = p;</div><div><br></div><div> ngx_http_spdy_queue_frame(sc, frame);</div><div><br></div><div> pos += NGX_SPDY_PING_SIZE;</div><div><br></div><div> return ngx_http_spdy_state_complete(sc, pos, end);</div>
<div><br></div><div style>But I can not find the code where PING frame is sent to network.</div><div style>(The same is for RST, SETTINGS).</div><div style>(Like there is no call to ngx_http_spdy_send_output_queue function)</div>
<div style><br></div><div style>So, my question is when such frames will be actually sent?</div><div style><br></div><div style>BR/ Yury</div></div></div>