Changeset 5886
- Timestamp:
- Sep 18, 2018 12:45:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r5884 r5886 1977 1977 { 1978 1978 mgr->on_rx_msg(mgr->endpt, PJSIP_EMISSINGHDR, rdata); 1979 1980 /* Notify application about the missing header. */ 1981 if (mgr->tp_drop_data_cb) { 1982 pjsip_tp_dropped_data dd; 1983 pj_bzero(&dd, sizeof(dd)); 1984 dd.tp = tr; 1985 dd.data = current_pkt; 1986 dd.len = msg_fragment_size; 1987 dd.status = PJSIP_EMISSINGHDR; 1988 (*mgr->tp_drop_data_cb)(&dd); 1989 } 1979 1990 goto finish_process_fragment; 1980 1991 } … … 1999 2010 { 2000 2011 mgr->on_rx_msg(mgr->endpt, PJSIP_EINVALIDSTATUS, rdata); 2012 2013 /* Notify application about the invalid status. */ 2014 if (mgr->tp_drop_data_cb) { 2015 pjsip_tp_dropped_data dd; 2016 pj_bzero(&dd, sizeof(dd)); 2017 dd.tp = tr; 2018 dd.data = current_pkt; 2019 dd.len = msg_fragment_size; 2020 dd.status = PJSIP_EINVALIDSTATUS; 2021 (*mgr->tp_drop_data_cb)(&dd); 2022 } 2001 2023 goto finish_process_fragment; 2002 2024 }
Note: See TracChangeset
for help on using the changeset viewer.