Ignore:
Timestamp:
May 15, 2007 10:42:56 AM (17 years ago)
Author:
bennylp
Message:

Fixed several STUN bugs: USERNAME, REALM etc are not allowed in the response, retransmission timer calculation bug, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_session.h

    r1152 r1275  
    162162    pj_uint8_t           msg_key[12];   /**< Message/transaction key.       */ 
    163163 
     164    pj_str_t             auth_key;      /**< Auth key.                      */ 
     165 
    164166    void                *pkt;           /**< The STUN packet.               */ 
    165167    unsigned             max_len;       /**< Length of packet buffer.       */ 
     
    306308 * @return          PJ_SUCCESS on success, or the appropriate error code. 
    307309 */ 
    308 PJ_DECL(pj_status_t) pj_stun_session_create_response(pj_stun_session *sess, 
    309                                                      const pj_stun_msg *req, 
    310                                                      unsigned err_code, 
    311                                                      const pj_str_t *err_msg, 
    312                                                      pj_stun_tx_data **p_tdata); 
     310PJ_DECL(pj_status_t) pj_stun_session_create_res(pj_stun_session *sess, 
     311                                                const pj_stun_msg *req, 
     312                                                unsigned err_code, 
     313                                                const pj_str_t *err_msg, 
     314                                                pj_stun_tx_data **p_tdata); 
    313315 
    314316 
Note: See TracChangeset for help on using the changeset viewer.