d0c27d5229
Previously nghttp2_session_send() and nghttp2_session_mem_send() did not send 24 bytes client magic byte string (MAGIC). We made nghttp2_session_recv() and nghttp2_session_mem_recv() process MAGIC by default, so it is natural to make library send MAGIC as well. This commit makes nghttp2_session_send() and nghttp2_session_mem_send() send MAGIC. This commit also replace "connection preface" with "client magic", since we call MAGIC as "connection preface" but it is just a part of connection preface. NGHTTP2_CLIENT_CONNECTION_PREFACE macro was replaced with NGHTTP2_CLIENT_MAGIC. The already deprecated NGHTTP2_CLIENT_CONNECTION_HEADER macro was removed permanently. nghttp2_option_set_no_recv_client_preface() was renamed as nghttp2_option_set_no_recv_client_magic(). NGHTTP2_ERR_BAD_PREFACE was renamed as NGHTTP2_ERR_BAD_CLIENT_MAGIC. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
asio-cl.cc | ||
asio-cl2.cc | ||
asio-sv.cc | ||
asio-sv2.cc | ||
client.c | ||
deflate.c | ||
libevent-client.c | ||
libevent-server.c | ||
tiny-nghttpd.c |