Module: sip-router
Branch: master
Commit: 9ca1648fbf167748bcf9155794f703632ca87503
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9ca1648fbf167748bcf9155794f703632ca87503

Author: Charles Chance <[email protected]>
Committer: Charles Chance <[email protected]>
Date:   Thu Oct 24 16:36:01 2013 +0100

htable: ht_dmq_handle_msg() - do not call parse_headers on cloned message

---

 modules/htable/ht_dmq.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/modules/htable/ht_dmq.c b/modules/htable/ht_dmq.c
index d3ef053..c2cf7a5 100644
--- a/modules/htable/ht_dmq.c
+++ b/modules/htable/ht_dmq.c
@@ -101,11 +101,6 @@ int ht_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* 
resp)
 
        /* received dmq message */
        LM_DBG("dmq message received\n");
-       /* parse the message headers */
-       if(parse_headers(msg, HDR_EOH_F, 0) < 0) {
-               LM_ERR("error parsing message headers\n");
-               goto error;
-       }
        
        if(!msg->content_length) {
                LM_ERR("no content length header found\n");


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to