forked from osmocom/wireshark
MySQL: decode responses for more requests in a row
Capture file of Bug 15074 lists two requests in a row. Only the first response gets dissected. The second one not. This commit defaults to mysql_dissect_result_header() for response packets. The documentation [1] doesn't provide any useful information how to handle this. [1]: https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_PROTOCOL.html Ping-Bug: 15074 Change-Id: I77c269dd95859bc26e12c6b89cedaac9b6047d9f Reviewed-on: https://code.wireshark.org/review/29349 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
5c36f6166c
commit
9a71ec042e
|
@ -1716,6 +1716,7 @@ mysql_dissect_response(tvbuff_t *tvb, packet_info *pinfo, int offset,
|
|||
break;
|
||||
|
||||
case RESPONSE_TABULAR:
|
||||
case REQUEST: /* That shouldn't be the case; maybe two requests in a row (s. bug 15074) */
|
||||
offset = mysql_dissect_result_header(tvb, pinfo, offset, tree, conn_data);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue