Apply PIE to nghttpx
[platform/upstream/nghttp2.git] / doc / nghttp2_option_set_no_auto_ping_ack.rst
1
2 nghttp2_option_set_no_auto_ping_ack
3 ===================================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: void nghttp2_option_set_no_auto_ping_ack(nghttp2_option *option, int val)
11
12     
13     This option prevents the library from sending PING frame with ACK
14     flag set automatically when PING frame without ACK flag set is
15     received.  If this option is set to nonzero, the library won't send
16     PING frame with ACK flag set in the response for incoming PING
17     frame.  The application can send PING frame with ACK flag set using
18     `nghttp2_submit_ping()` with :macro:`NGHTTP2_FLAG_ACK` as flags
19     parameter.