Changeset 163

Show
Ignore:
Timestamp:
09/04/07 16:26:27 (20 months ago)
Author:
smoku
Message:

Integrated SSL handshake patch by Klara Mall. Fixes #59

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sx/io.c

    r141 r163  
    305305    ret = _sx_get_pending_write(s); 
    306306    if (ret < 0) { 
    307     /* fatal error */ 
    308     /* !!! shut down */ 
    309     return 0; 
     307        /* fatal error */ 
     308        _sx_debug(ZONE, "fatal error after attempt to write on fd %d", s->tag); 
     309        /* permanent error so inform the app it can kill us */ 
     310        sx_kill(s); 
     311        return 0; 
    310312    } 
    311313