Changeset 2047

Show
Ignore:
Timestamp:
01/17/2008 10:15:19 AM (6 months ago)
Author:
glen
Message:

- FDEVENT_OUT fix from #1521

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/connections.c

    r1889 r2047  
    827827                        joblist_append(srv, con); 
    828828                        break; 
     829                case CON_STATE_ERROR: 
     830                        ERROR("we are in (CON_STATE_ERROR), but still get a FDEVENT_OUT, removing event from fd = %d, %04x for (%s)" 
     831, 
     832                                        con->sock->fd, 
     833                                        revents, 
     834                                        BUF_STR(con->uri.path)); 
     835 
     836                        fdevent_event_del(srv->ev, con->sock); 
     837 
     838                        joblist_append(srv, con); 
     839                        break; 
    829840                default: 
    830841                        TRACE("got FDEVENT_OUT for state %d, calling the job-handler, let's see what happens", con->state);