wireshark/epan/nghttp2
Alexis La Goutte 691973469f HTTP2: Update nghttp2 lib (0.6.7)
lot of change but it is majority reindent change (Using clang-format)

Change-Id: Idcd0fa79ca977e25d69eb80a89d3c61d228885e9
Reviewed-on: https://code.wireshark.org/review/5764
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-12-15 07:58:36 +00:00
..
Makefile.am Fix the patch-bzip2 target. 2014-09-16 20:16:26 +00:00
Makefile.common Fix the patch-bzip2 target. 2014-09-16 20:16:26 +00:00
Makefile.nmake Fix the patch-bzip2 target. 2014-09-16 20:16:26 +00:00
README.nghttp2 HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_buf.c HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_buf.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_hd.c HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_hd.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_hd_huffman.c HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_hd_huffman.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_hd_huffman_data.c HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_helper.c HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_helper.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_int.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2_net.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
nghttp2ver.h HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00

README.nghttp2

Code from nghttp2 library ( https://github.com/tatsuhiro-t/nghttp2)
Thanks for Tatsuhiro Tsujikawa for permission to use nghttp2 lib.

Update library from source

download (clone) last release of nghttp2
and in folder epan/nghttp2 copy following file

cp ../../../nghttp2/lib/nghttp2_buf.[ch] .
cp ../../../nghttp2/lib/nghttp2_hd*.[ch] .
cp ../../../nghttp2/lib/nghttp2_helper.[ch] .
cp ../../../nghttp2/lib/nghttp2_int.h .
cp ../../../nghttp2/lib/nghttp2_net.h .
cp ../../../nghttp2/lib/includes/nghttp2/nghttp2.h .
cp ../../../nghttp2/lib/includes/nghttp2/nghttp2ver.h .

Change path to nghttp2.h
find . -name "nghttp2*" -type f -exec sed -i 's/<nghttp2\/nghttp2.h>/<nghttp2.h>/g'  {} \;

Change path to nghttp2ver.h
find . -name "nghttp2*" -type f -exec sed -i 's/<nghttp2\/nghttp2ver.h>/"nghttp2ver.h"/g'  {} \;

Fix c++-compat error and documentation (struct => typedef) error

in nghttp2/nghttp2_helper.h remove check for CONFIG.H

in nghttp2/nghttp2.h

Add on the top
#include "config.h"