nghttp2/examples
Tatsuhiro Tsujikawa d0c27d5229 Send 24 bytes client magic byte string by library
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.
2015-04-05 23:15:20 +09:00
..
.gitignore examples: Update .gitignore 2015-03-06 03:14:26 +09:00
Makefile.am examples: Place AM_CPPFLAGS first to use in-package header files first 2015-03-26 23:09:39 +09:00
asio-cl.cc asio: Remove eof check in asio-cl.cc 2015-03-07 03:10:37 +09:00
asio-cl2.cc asio: Use host_service_from_uri in asio-cl2.cc 2015-03-07 01:10:49 +09:00
asio-sv.cc asio: Add server::response::write_trailer() 2015-03-07 19:26:42 +09:00
asio-sv2.cc asio: Clean up server API to explicitly set error code 2015-03-07 01:10:49 +09:00
client.c Send 24 bytes client magic byte string by library 2015-04-05 23:15:20 +09:00
deflate.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
libevent-client.c Send 24 bytes client magic byte string by library 2015-04-05 23:15:20 +09:00
libevent-server.c Deal with 24 bytes client connection preface by default 2015-04-05 23:15:20 +09:00
tiny-nghttpd.c Deal with 24 bytes client connection preface by default 2015-04-05 23:15:20 +09:00