Ignore:
Timestamp:
Jun 8, 2009 3:30:38 PM (15 years ago)
Author:
nanang
Message:

Ticket #831: Added compile-time option to disable/prevent transport switching to TCP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_util.c

    r2746 r2756  
    11911191    pj_memcpy( &stateless_data->addr, addr, sizeof(pjsip_server_addresses)); 
    11921192 
     1193#if !defined(PJSIP_DONT_SWITCH_TO_TCP) || PJSIP_DONT_SWITCH_TO_TCP==0 
    11931194    /* RFC 3261 section 18.1.1: 
    11941195     * If a request is within 200 bytes of the path MTU, or if it is larger 
     
    12351236        } 
    12361237    } 
     1238#endif /* !PJSIP_DONT_SWITCH_TO_TCP */ 
    12371239 
    12381240    /* Process the addresses. */ 
Note: See TracChangeset for help on using the changeset viewer.