Changeset 907


Ignore:
Timestamp:
01/09/2006 00:39:24 (5 years ago)
Author:
chris
Message:

Revert to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/merge/lib/server/SocketStreamTLS.cpp

    r710 r907  
    138138        } 
    139139 
     140#ifndef WIN32 
    140141        // Make the socket non-blocking so timeouts on Read work 
    141  
    142 #ifdef WIN32 
    143         u_long nonblocking = 1; 
    144         ioctlsocket(socket, FIONBIO, &nonblocking); 
    145 #else // !WIN32 
    146142        // This is more portable than using ioctl with FIONBIO 
    147143        int statusFlags = 0; 
     
    314310                case SSL_ERROR_WANT_READ: 
    315311                case SSL_ERROR_WANT_WRITE: 
    316                         // wait for the required data 
     312                        // wait for the requried data 
    317313                        // Will only get once around this loop, so don't need to calculate timeout values 
    318314                        if(WaitWhenRetryRequired(se, Timeout) == false) 
Note: See TracChangeset for help on using the changeset viewer.