nghttp2/lib
Tatsuhiro Tsujikawa 901de5fbce Add nghttp2_option_set_recv_client_preface()
By default, nghttp2 library only handles HTTP/2 frames and does not
recognize first 24 bytes of client connection preface. This design
choice is done due to the fact that server may want to detect the
application protocol based on first few bytes on clear text
communication. But for simple servers which only speak HTTP/2, it is
easier for developers if nghttp2 library takes care of client
connection preface.

If this option is used with nonzero val, nghttp2 library checks first
24 bytes client connection preface. If it is not a valid one,
nghttp2_session_recv() and nghttp2_session_mem_recv() will return
error NGHTTP2_ERR_BAD_PREFACE, which is fatal error.
2014-09-13 19:50:44 +09:00
..
includes Add nghttp2_option_set_recv_client_preface() 2014-09-13 19:50:44 +09:00
Makefile.am Hide nghttp2_session_callbacks details and provide setter like functions 2014-08-25 21:24:04 +09:00
libnghttp2.pc.in libnghttp2: Remove dependency to zlib 2014-05-06 23:10:50 +09:00
nghttp2_buf.c Add nghttp2_bufs_realloc 2014-08-24 15:34:55 +09:00
nghttp2_buf.h Add nghttp2_bufs_realloc 2014-08-24 15:34:55 +09:00
nghttp2_callbacks.c Add nghttp2_on_begin_frame_callback 2014-08-25 21:26:50 +09:00
nghttp2_callbacks.h Add nghttp2_on_begin_frame_callback 2014-08-25 21:26:50 +09:00
nghttp2_frame.c Add reserved bits to header and frames 2014-08-28 23:30:42 +09:00
nghttp2_frame.h Add reserved bits to header and frames 2014-08-28 23:30:42 +09:00
nghttp2_hd.c nghtp2_hd: Calculate hash values once 2014-08-06 22:00:12 +09:00
nghttp2_hd.h nghtp2_hd: Calculate hash values once 2014-08-06 22:00:12 +09:00
nghttp2_hd_huffman.c Fix some other shorten-64-to-32 casting error found by MSVC (64bits) 2014-06-16 19:17:49 +02:00
nghttp2_hd_huffman.h Fix nghttp2_hd_huffman.h:41:31: warning: comma at end of enumerator list [-Wpedantic] 2014-06-11 23:43:10 +09:00
nghttp2_hd_huffman_data.c Update huffman code table 2014-06-16 23:03:55 +09:00
nghttp2_helper.c nghttp2_check_header_value: Disallow 0x00 2014-08-02 00:30:09 +09:00
nghttp2_helper.h Fix typo 2014-05-06 17:05:47 +02:00
nghttp2_int.h Merge branch 'misc' of https://github.com/alagoutte/nghttp2 into alagoutte-misc 2014-05-26 21:48:30 +09:00
nghttp2_map.c Fix compile error with -Wshorten-64-to-32 2014-06-11 23:37:16 +09:00
nghttp2_map.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_net.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_npn.c Check protocol length so that scanner don't overrun buffer 2014-04-22 23:20:33 +09:00
nghttp2_npn.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_option.c Add nghttp2_option_set_recv_client_preface() 2014-09-13 19:50:44 +09:00
nghttp2_option.h Add nghttp2_option_set_recv_client_preface() 2014-09-13 19:50:44 +09:00
nghttp2_outbound_item.c Separate extension frames from core frames 2014-06-09 23:16:54 +09:00
nghttp2_outbound_item.h Interleave stream DATA more naturally 2014-05-08 23:07:29 +09:00
nghttp2_pq.c Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_pq.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_priority_spec.c Allow exclusive dependency to stream 0 2014-04-17 21:18:18 +09:00
nghttp2_priority_spec.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_queue.c Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_queue.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_session.c Add nghttp2_option_set_recv_client_preface() 2014-09-13 19:50:44 +09:00
nghttp2_session.h Add nghttp2_option_set_recv_client_preface() 2014-09-13 19:50:44 +09:00
nghttp2_stream.c Add nghttp2_session_consume() API 2014-07-31 23:05:53 +09:00
nghttp2_stream.h Add nghttp2_session_consume() API 2014-07-31 23:05:53 +09:00
nghttp2_submit.c Use uint32_t for HTTP/2 error_code 2014-08-25 21:24:04 +09:00
nghttp2_submit.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_version.c Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00