Use dedicated exit code for AFP connections that were dropped
by the client right after the TCP handshake.
Changes in 3.0.7
================
* FIX: Build fixes for the Kerberos UAM
+* UPD: Use dedicated exit code for AFP connections that were dropped
+ by the client right after the TCP handshake
Changes in 3.0.6
================
#define EXITERR_CLNT 1 /* client related error */
#define EXITERR_CONF 2 /* error in config files/cmd line parameters */
#define EXITERR_SYS 3 /* local system error */
+#define EXITERR_CLOSED 4 /* connection was immediately closed after TCP handshake */
/* Print a SBT and exit */
#define AFP_PANIC(why) \
len = dsi_stream_read(dsi, block, 2);
if (!len ) {
/* connection already closed, don't log it (normal OSX 10.3 behaviour) */
- exit(EXITERR_CLNT);
+ exit(EXITERR_CLOSED);
}
if (len < 2 || (block[0] > DSIFL_MAX) || (block[1] > DSIFUNC_MAX)) {
LOG(log_error, logtype_dsi, "dsi_tcp_open: invalid header");