]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_dsi.c
Temporarily disable ECONNRESET detection, it causes primary reconnections failures
[netatalk.git] / etc / afpd / afp_dsi.c
index 0707aebcb81ab8b0b5973699eafb589a21353ef3..c59272ff0c7a03b0586deecf02e39f7d0126c14d 100644 (file)
@@ -500,12 +500,14 @@ void afp_over_dsi(AFPObj *obj)
                 exit(0);
             }
 
+#if 0
             /*  got ECONNRESET in read from client => exit*/
             if (dsi->flags & DSI_GOT_ECONNRESET) {
                 LOG(log_note, logtype_afpd, "afp_over_dsi: client connection reset");
                 afp_dsi_close(obj);
                 exit(0);
             }
+#endif
 
             if (dsi->flags & DSI_RECONINPROG) {
                 LOG(log_note, logtype_afpd, "afp_over_dsi: failed reconnect");