Lines Matching refs:closing
49 /* the the list of currently closing local sockets.
216 D("LS(%d): closing peer. peer->id=%d peer->fd=%d", s->id, s->peer->id, s->peer->fd);
229 /* If we are already closing, or if there are no
232 if (s->closing || s->has_write_error || s->pkt_first == NULL) {
239 /* otherwise, put on the closing list
241 D("LS(%d): closing", s->id);
242 s->closing = 1;
275 D(" closing after write because r=%d and errno is %d", r, errno);
290 /* if we sent the last packet of a closing socket,
293 if (s->closing) {
294 D(" closing because 'closing' is set after write");
352 ** socket will be placed on the closing socket list.
369 D(" closing because is_eof=%d r=%d s->fde.force_eof=%d", is_eof, r, s->fde.force_eof);
548 connected (to avoid closing them without a status message) */