From c5c05911c62f0524c3b88086cf20dedb3d6ef769 Mon Sep 17 00:00:00 2001
From: Huang Qiangxiong <qiangxiong.huang@qq.com>
Date: Mon, 31 Jul 2017 15:22:59 +0000
Subject: Add GRPC dissector

GRPC dissector register it self to media_type dissector table using
patterns "application/grpc", "application/grpc+proto" and
"application/grpc+json".

GRPC stack (at least in grpc-java) can send JSON over GRPC using
content-type = "application/grpc" which normally means default protobuf
format.  A preference is added to detect the message body, if it starts
with '{', and ends with '}', will force to use JSON subdissector instead
of searching in 'grpc_message_type' table.

Ping-Bug: 13932
Change-Id: I910961ca06370e678d19b78cac533ca566d87628
Reviewed-on: https://code.wireshark.org/review/22891
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
---
 docbook/release-notes.asciidoc | 1 +
 1 file changed, 1 insertion(+)

(limited to 'docbook/release-notes.asciidoc')

diff --git a/docbook/release-notes.asciidoc b/docbook/release-notes.asciidoc
index 1060e28027..f9bbda96ef 100644
--- a/docbook/release-notes.asciidoc
+++ b/docbook/release-notes.asciidoc
@@ -69,6 +69,7 @@ Wi-Fi Device Provisioning Protocol
 PFCP (Packet Forwarding Control Protocol)
 Tibia
 Broadcom tags (Broadcom Ethernet switch management frames)
+GRPC (gRPC)
 --sort-and-group--
 
 === Updated Protocol Support
-- 
cgit v1.2.3

