Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
Immanuel
/
btpd
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Remove the events for a peer's socket before closing it. At least the epoll
libevent backend didn't like the fd to be closed. Reported by Ludvig Omholt.
master
Richard Nyberg
hace 18 años
padre
45ceb46c42
commit
7ce1098dff
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
btpd/peer.c
+ 1
- 1
btpd/peer.c
Ver fichero
@@ -30,9 +30,9 @@ peer_kill(struct peer *p)
if (p->flags & PF_ON_WRITEQ)
BTPDQ_REMOVE(&net_bw_writeq, p, wq_entry);
close(p->sd);
btpd_ev_del(&p->in_ev);
btpd_ev_del(&p->out_ev);
close(p->sd);
nl = BTPDQ_FIRST(&p->outq);
while (nl != NULL) {
Escribir
Vista previa
Cargando…
Cancelar
Guardar