Changeset 4775
- Timestamp:
- Mar 4, 2014 2:18:51 AM (11 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_transport.h
r4773 r4775 801 801 pjsip_tpmgr *tpmgr; /**< Transport manager. */ 802 802 pj_timer_entry idle_timer; /**< Timer when ref cnt is zero.*/ 803 804 pj_timestamp last_recv_ts; /**< Last time receiving data. */ 805 pj_size_t last_recv_len; /**< Last received data length. */ 803 806 804 807 void *data; /**< Internal transport data. */ -
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r4773 r4775 1611 1611 current_pkt = rdata->pkt_info.packet; 1612 1612 remaining_len = rdata->pkt_info.len; 1613 1614 tr->last_recv_len = rdata->pkt_info.len; 1615 pj_get_timestamp(&tr->last_recv_ts); 1613 1616 1614 1617 /* Must NULL terminate buffer. This is the requirement of the
Note: See TracChangeset
for help on using the changeset viewer.