aboutsummaryrefslogtreecommitdiffstats
path: root/epan/nghttp2/README.nghttp2
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2014-07-02 14:10:02 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-07-09 05:31:31 +0000
commit4b5967f68391c9ea048c6ca76eef893e764d4779 (patch)
treeeb816e0ed6784860067300e6ee6313bd88649e8f /epan/nghttp2/README.nghttp2
parent5f0fd977d134cf7169e4c7131433fa75c4cd5e27 (diff)
Moved nghttp2 to epan
Cleaned up nghttp2 build Change-Id: I9f7adc12936155e0ffc01ec825b5aff95279f97d Reviewed-on: https://code.wireshark.org/review/2937 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/nghttp2/README.nghttp2')
-rw-r--r--epan/nghttp2/README.nghttp230
1 files changed, 30 insertions, 0 deletions
diff --git a/epan/nghttp2/README.nghttp2 b/epan/nghttp2/README.nghttp2
new file mode 100644
index 0000000000..54410ee355
--- /dev/null
+++ b/epan/nghttp2/README.nghttp2
@@ -0,0 +1,30 @@
+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
+
+in nghttp2/nghttp2_helper.h remove check for CONFIG.H
+
+in nghttp2/nghttp2.h
+
+Add on the top
+#include "config.h"