[OpenSIPS-Devel] [OpenSIPS/opensips] 074e10: [proto_hep] fix handling tcp requests coming in mu...
ionutrazvanionita
ionutionita at opensips.org
Thu Apr 27 08:39:43 EDT 2017
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: 074e104694c19ccdf97b75df27219a312aa67796
https://github.com/OpenSIPS/opensips/commit/074e104694c19ccdf97b75df27219a312aa67796
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;
(cherry picked from commit 6c51756205e96cb2c22d781256aa7484cdb3ffa5)
More information about the Devel
mailing list