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
Kill a peer when write indicates a closed connection.
master
Richard Nyberg
hace 20 años
padre
1aee379342
commit
40ffcd13c2
Se han
modificado 1 ficheros
con
4 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+4
-0
btpd/net.c
+ 4
- 0
btpd/net.c
Ver fichero
@@ -231,6 +231,10 @@ net_write(struct peer *p, unsigned long wmax)
peer_kill(p);
return 0;
}
} else if (nwritten == 0) {
btpd_log(BTPD_L_CONN, "connection close by peer.\n");
peer_kill(p);
return 0;
}
bcount = nwritten;
Escribir
Vista previa
Cargando…
Cancelar
Guardar