Changeset 872 for pjproject


Ignore:
Timestamp:
Dec 29, 2006 2:25:03 AM (18 years ago)
Author:
bennylp
Message:

Fixed TLS transport when IOCP is used

File:
1 edited

Legend:

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

    r861 r872  
    20442044            flags = PJ_IOQUEUE_ALWAYS_ASYNC; 
    20452045        } else { 
    2046             flags = 0; 
     2046            /* This doesn't work too well when IOCP is used, as it seems that 
     2047             * IOCP refuses to do MSG_PEEK when WSARecv() is called without 
     2048             * OVERLAP structure. With OpenSSL it gives this error: 
     2049             * error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version  
     2050             * number 
     2051             * 
     2052             * flags = 0  
     2053             */ 
     2054            flags = PJ_IOQUEUE_ALWAYS_ASYNC; 
    20472055        } 
    20482056 
Note: See TracChangeset for help on using the changeset viewer.