[OpenSIPS-Devel] [OpenSIPS/opensips] fdfb68: [proto_hep] fix handling tcp requests coming in mu...
ionutrazvanionita
ionutionita at opensips.org
Thu Apr 27 08:39:40 EDT 2017
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: fdfb68905f13d8c35aba475078f89fec5be461a7
https://github.com/OpenSIPS/opensips/commit/fdfb68905f13d8c35aba475078f89fec5be461a7
Author: ionutrazvanionita <ionutionita at opensips.org>
Date: 2017-04-27 (Thu, 27 Apr 2017)
Changed paths:
M modules/proto_hep/proto_hep.c
Log Message:
-----------
[proto_hep] fix handling tcp requests coming in multiple chunks
This commit fixes 2 bugs:
1) fixes not reading second part of a single TCP request
because of bad parsed pointer update;
2) fixes major bug that was causing packets to be processed
infinite times by hep callback when one message + some part of a
second message came in a chunk and in the second chunk it was the
second part of the second message; the tcp request structure was
not updated(complete was not set to 0 after first message was
processed) causing the second message to be processed an infinte amount
of times into the database;
More information about the Devel
mailing list