TT#64652 pv_headers: ignore FAKED_REPLY msg

* skip pv_headers processing in the callbacks
      if the msg pointer is FAKED_REPLY

Change-Id: I1469708f9112c9510f02c4b1e7af72f32a93adc2
(cherry picked from commit 67446d7fb9)
changes/79/32279/2
Kirill Solomko 7 years ago
parent 1678d52795
commit 8764b1e4d3

@ -770,7 +770,7 @@
+ switch (type) {
+ case TMCB_RESPONSE_IN:
+ msg = params->rpl;
+ if (msg) {
+ if (msg != NULL && msg != FAKED_REPLY) {
+ pv_reset_headers(msg, NULL, NULL);
+ pv_collect_headers(msg, "1", NULL);
+ }
@ -787,7 +787,7 @@
+ return;
+ }
+
+ if (msg)
+ if (msg != NULL && msg != FAKED_REPLY)
+ pv_apply_headers(msg, "1", NULL);
+
+ return;

Loading…
Cancel
Save