Changeset 3713

Show
Ignore:
Timestamp:
02/21/06 17:48:44 (3 years ago)
Author:
morris
Message:

Raise timeouts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/WCLink.m

    r3706 r3713  
    208208        [_socket setInteractive:YES]; 
    209209         
    210         if(![_socket connectWithContext:context timeout:10.0 error:&error]) { 
     210        if(![_socket connectWithContext:context timeout:30.0 error:&error]) { 
    211211                failed = YES; 
    212212                 
  • WiredClient/trunk/WCTransfers.m

    r3711 r3713  
    741741        [socket setInteractive:NO]; 
    742742         
    743         if(![socket connectWithContext:context timeout:10.0 error:&error]) { 
     743        if(![socket connectWithContext:context timeout:30.0 error:&error]) { 
    744744                [self _presentError:error]; 
    745745                 
     
    749749        [socket writeString:[NSSWF:@"%@ %@%@", WCTransferCommand, [transfer hash], WCMessageSeparator] 
    750750                           encoding:NSUTF8StringEncoding 
    751                                 timeout:10.0 
     751                                timeout:30.0 
    752752                                  error:&error]; 
    753753         
     
    898898        [socket setInteractive:NO]; 
    899899         
    900         if(![socket connectWithContext:context timeout:10.0 error:&error]) { 
     900        if(![socket connectWithContext:context timeout:30.0 error:&error]) { 
    901901                [self _presentError:error]; 
    902902                 
     
    906906        [socket writeString:[NSSWF:@"%@ %@%@", WCTransferCommand, [transfer hash], WCMessageSeparator] 
    907907                           encoding:NSUTF8StringEncoding 
    908                                 timeout:10.0 
     908                                timeout:30.0 
    909909                                  error:&error]; 
    910910