aboutsummaryrefslogtreecommitdiffstats
path: root/epan/nghttp2
AgeCommit message (Collapse)AuthorFilesLines
2016-06-30Remove Makefile.common filesJoão Valverde2-67/+23
Now that nmake build system has been removed they are not needed anymore. Change-Id: I88075f955bb4349185859c1af4be22e53de5850f Reviewed-on: https://code.wireshark.org/review/16050 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-06-15Remove Nmake build systemPascal Quantin2-45/+0
Change-Id: I3bd474f3cda9667dec66426b5729449953df3e61 Reviewed-on: https://code.wireshark.org/review/15777 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jörg Mayer <jmayer@loplof.de> Reviewed-by: Balint Reczey <balint@balintreczey.hu>
2016-06-01Change the declaration of nghttp2_mem_free2() to match the definition.Guy Harris1-1/+1
The free routine pointer was renamed to free_func to avoid collisions with the standard C free() function. From Jeff Morris' abandoned change Ia3810fe228b497d888d825f8b606078e2f71be65. Change-Id: Iedeb74625b13d1097da510487b60f38861a42bec Reviewed-on: https://code.wireshark.org/review/15666 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-06-01Pick up some updates from Jeff Morris' abandoned change.Guy Harris1-2/+5
See change Ia3810fe228b497d888d825f8b606078e2f71be65. Change-Id: Ia6df3434e31a4364bb867a978ee0f89738c19e9d Reviewed-on: https://code.wireshark.org/review/15665 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-05-31Squelch a compiler warning.Guy Harris1-2/+2
Change-Id: I7a0b48dd840a6b4795f87f983bbaf169afceece7 Reviewed-on: https://code.wireshark.org/review/15664 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-05-31Update to nghttp2 1.11.1Alexis La Goutte14-930/+889
Change-Id: I308b4db02b1501f38b2693b45b2b9bd6054376d1 Reviewed-on: https://code.wireshark.org/review/15579 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-03-27NGHTTP2: Update to 1.8.0Alexis La Goutte5-37/+596
Change-Id: Ic818b7df95c9812076303f613b0641b9e702b62e Reviewed-on: https://code.wireshark.org/review/14562 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-08Add EditorConfig settings for most C filesJoão Valverde2-0/+9
Change-Id: I02e6d71290bbdf7504437b0d670955b3686b6b52 Reviewed-on: https://code.wireshark.org/review/14360 Reviewed-by: João Valverde <j@v6e.pt>
2016-03-01CMake: Add more structure to libwireshark buildJoão Valverde2-1/+67
Smaller epan/CMakeLists.txt is easier to work with and this structure is well suited to CMake. It should make it easier to manage and configure each epan module differently if necessary. Change-Id: Ia649db3b7dcd405aa43dbdba3288699d5e375229 Reviewed-on: https://code.wireshark.org/review/14068 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: João Valverde <j@v6e.pt>
2016-02-21autotools: Use pkg-config autoconf macros for GLib/GTKJoão Valverde1-1/+2
Remove mostly obsolete aclocal macros. Make GTK build flags a strict superset of GLib flags. Use GTK build variables for GTK GUI and GLib elsewhere. Add dependency flags explicitly instead of using WS_CPPFLAGS. Some minor improvements and fixes for missing/unnecessary variables (no impact on our test builds). Change-Id: I3e1f067a875f79d6516c1fa7af986f17a7a6b671 Reviewed-on: https://code.wireshark.org/review/14005 Reviewed-by: João Valverde <j@v6e.pt>
2016-01-28autotools: Don't use "user variables" to set build flagsJoão Valverde1-7/+2
GNU coding standards recommend against it and automake is designed around it. This allows overriding the global build flags using AM_CFLAGS, etc., or per object flags, something that is difficult or impossible currently because of automake precedence rules. Change-Id: I3f1ea12e560af5a46b2f04b342b1882bbf123f12 Reviewed-on: https://code.wireshark.org/review/13455 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2015-12-26NGHTTP2: Update to 1.6.0Alexis La Goutte2-10/+70
Change-Id: I0794b47ec95a6604ade3d1e0637603a9687d1ed4 Reviewed-on: https://code.wireshark.org/review/12872 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-27NGHTTP2: Update to 1.5.0Alexis La Goutte7-120/+468
Change-Id: I18ec89d1d053014a023217f6a07d72c7791fd436 Reviewed-on: https://code.wireshark.org/review/12199 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-09-24NGHTTP2: Fix warning this decimal constant is unsigned only in ISO C90Tatsuhiro Tsujikawa1-1/+1
Backport patch from 1.3.4 (Available soon) Change-Id: I32565835a3be78a9eeea2cf4f4d7d4825de9aa40 Signed-off-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-on: https://code.wireshark.org/review/10638
2015-09-24NGHTTP2: Update to 1.3.3Alexis La Goutte9-152/+292
Change-Id: Id52d04859d61ffc720791cf90294cac4b1915a28 Reviewed-on: https://code.wireshark.org/review/10629 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-08-31NGHTTP2: Update to 1.3.0Alexis La Goutte5-10/+199
Change-Id: Ia12396b3b4a2bb4dcbdce63d06558b6474cd588e Reviewed-on: https://code.wireshark.org/review/10324 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-07-23HTTP2: Update to libnghttp2 1.1.2Alexis La Goutte6-32/+63
Update also the documentation after last change Change-Id: Ie93e669b07c7a0c2b8febabe92c8503296b36998 Reviewed-on: https://code.wireshark.org/review/9746 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-06-24Don't export libnghttp2 routines outside libwireshark.Guy Harris1-0/+13
Hopefully this will fix build issues that popped up on Windows, as well as making the library a bit cleaner. Change-Id: I5b5266af4b41e10aba32abdb46bfe811ab11b45d Reviewed-on: https://code.wireshark.org/review/9087 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-06-24libnghttp2: readd remove check for CONFIG.HAlexis La Goutte2-2/+2
i hope will be fixed Windows 32 buildbot Change-Id: Ie4429193d354ff70b4802fa8a734cb35a69c090c Reviewed-on: https://code.wireshark.org/review/9090 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-06-24HTTP2: Update to libnghttp2 1.0.4Alexis La Goutte5-7/+34
Change-Id: Ia92d183b7e7b5a604d75eee13b64b827ad0af903 Reviewed-on: https://code.wireshark.org/review/9054 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-26nghttp2: fix quote for config.h includeAlexis La Goutte1-1/+1
following https://code.wireshark.org/review/#/c/8204/ Change-Id: I5ffad2bcbed217893243b8a01451b282030d0108 Reviewed-on: https://code.wireshark.org/review/8646 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-25Fix out of tree buildsGraham Bloice1-1/+1
Stop out of tree builds picking up the in-tree version and config.h Change-Id: Icadc46cab66db72af2d475eac31b28d0ca10df90 Reviewed-on: https://code.wireshark.org/review/8204 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-21Include stdint.h instead of inttypes.h when compiled with MSVC < 2013Tatsuhiro Tsujikawa1-0/+7
Backport by Alexis La Goutte from upstream Bug:11216 Change-Id: Ia269adce607ebc5a31ac9ef119dc2d4248173d62 Reviewed-on: https://code.wireshark.org/review/8568 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-05-19HTTP2: Update to libnghttp2 1.0.0Alexis La Goutte5-147/+83
Change-Id: I77ae40b4c5643e3cb71242e27a00de151db0d83c Reviewed-on: https://code.wireshark.org/review/8477 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-17nghttp2: use <> for include glib.hAlexis La Goutte2-2/+2
Change-Id: I6fdb72322dca514a774ab074c26128f70992a8f7 Reviewed-on: https://code.wireshark.org/review/8476 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-05-11HTTP2: Update to libnghttp2 0.7.14Alexis La Goutte4-18/+17
Change-Id: Ib4cbe5cd876956bffeea81011a94296333ff1e9c Reviewed-on: https://code.wireshark.org/review/8379 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-08epan/nghttp2/nghttp2_net.h no longer exists, so don't list it.Guy Harris1-1/+0
Change-Id: I4a2f289a49edf10a62208dad186a9b6426b5af2b Reviewed-on: https://code.wireshark.org/review/8344 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-05-08nghttp2: use g_ntoh[ls], g_hton[ls] from glibAlexis La Goutte3-97/+12
Change-Id: I9e4278d469579022dd82bed4e40ff582fff266b6 Reviewed-on: https://code.wireshark.org/review/8328 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-01rv is only used in an assert. The assert only evaluates to code ifJoerg Mayer1-1/+6
NDEBUG is undefined. Protect rv and its use accordingly. Change-Id: Iadbc55f74ccb797d7e812090140e636713658aa7 Reviewed-on: https://code.wireshark.org/review/8260 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2015-05-01Revert "Fix warning:"Joerg Mayer1-1/+2
This reverts commit 39a31c3205ed1f0691f5e55174abe84653bcf7b0. rv is used in an assert, thus breaking debug builds. Change-Id: Ide9c287a9b6bfe07554a9429d3d216266d63c017 Reviewed-on: https://code.wireshark.org/review/8259 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2015-05-01Fix warning:Joerg Mayer1-2/+1
/home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c: In function ‘hd_inflate_remove_bufs_with_name’: /home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c:1736:10: error: variable ‘rv’ set but not used [-Werror=unused-but-set-variable] size_t rv; ^ turning error. Change-Id: Ibd46013ddbdbdf634e7df1eb7dd50c60a1f62e26 Reviewed-on: https://code.wireshark.org/review/8257 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2015-04-30HTTP2: Update to libnghttp2 0.7.13Alexis La Goutte10-586/+1434
Change-Id: I69589a90077a9b009f2e1a45531059ebd61a0450 Reviewed-on: https://code.wireshark.org/review/8242 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-03-09HTTP2: Update to libnghttp2 0.7.5Alexis La Goutte5-22/+151
Change-Id: Idcaf31b177b387b4a7199c8e1a9f591e3bf8a58f Reviewed-on: https://code.wireshark.org/review/7541 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-15Update to libnghttp2 0.7.1Alexis La Goutte13-234/+621
Change-Id: Ib8d40586a3b95674447819f77eaaa69376dce6fd Reviewed-on: https://code.wireshark.org/review/6411 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-01-02Add '*.nativecodeanalysis.xml' to 'clean' targetsBill Meier1-1/+1
Change-Id: I90dbf0b31fc737150a01533763a7869b34c68cb6 Reviewed-on: https://code.wireshark.org/review/6220 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-15HTTP2: Update nghttp2 lib (0.6.7)Alexis La Goutte14-6295/+6120
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-10-22libnghttp2: Update to 0.6.4Alexis La Goutte8-355/+815
Change-Id: Ic8878f818a89ebc1056777a5b0838e8a5b1215d5 Reviewed-on: https://code.wireshark.org/review/4834 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-09-16Fix the patch-bzip2 target.Gerald Combs3-3/+3
The main site URI scheme is now https. Update the URL in some other places while we're here. Change-Id: Ib03d4fd1c58dabd3cf5050dc4f79216e0b94d525 Reviewed-on: https://code.wireshark.org/review/4133 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-08-03http2: Update to h2-14Tatsuhiro Tsujikawa5-581/+368
* Expand frame length field to 24 bits * Add new SETTINGS: - SETTINGS_MAX_FRAME_SIZE - SETTINGS_MAX_HEADER_LIST_SIZE * Update libnghttp2 HPACK * Remove END_SEGMENT flag Change-Id: I5906322ad5a4d61c963ed95fada9415e66e146da Reviewed-on: https://code.wireshark.org/review/3357 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-08-03HTTP2: Fix README about change of nghttp2Alexis La Goutte1-1/+1
nghttp2ver.h is a local header, so use "" not <> See commit 4a182d48b1105889b51ee3bb06b033c636965130 Change-Id: I49210906290210fde8f496996e0e5ae69d697338 Reviewed-on: https://code.wireshark.org/review/3349 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-07-31Add more files to the release tarball.Guy Harris1-1/+2
Change-Id: I02ce275154979ff56f8f8929e5909f3035f62c47 Reviewed-on: https://code.wireshark.org/review/3286 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-19Add casts to squelch compiler warnings.Guy Harris2-3/+3
Change-Id: I100ec30e1e9ac204e3c9225278adc8a26992542a Reviewed-on: https://code.wireshark.org/review/3114 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-19Revert part of 5cc2ab74af486611def7bcc14105c1a0257b41deEvan Huus1-1/+1
nghttp2ver.h is a local header, so use "" not <> Change-Id: I62d1aebdc7c4b66035fccbba71ec9ca2edf1f07f Reviewed-on: https://code.wireshark.org/review/3112 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-07-19HTTP2: Update to nghttp2 lib 0.5.0Alexis La Goutte5-17/+14
Change-Id: Ia63c066e482f633ef5096f2341d74de749422102 Reviewed-on: https://code.wireshark.org/review/3104 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-07-15HTTP2: Fix double freeAlexis La Goutte1-0/+7
Found by Clang Analyzer Backport from https://github.com/tatsuhiro-t/nghttp2/commit/62423f5949001c375c8e325296c74c92d1be0965 Signed-off-by: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> Change-Id: Ic70f74b55ab80ca0b8d5042f07a29c9d14af4fe2 Reviewed-on: https://code.wireshark.org/review/3058 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-07-09Moved nghttp2 to epanGraham Bloice17-0/+12642
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>