mirror of
https://github.com/sheumann/AFPBridge.git
synced 2025-10-31 11:26:45 -07:00
Detect when Marinetti has disconnected, and close all sessions at that time.
Also, detect and give an error when invalid session numbers are used.
This commit is contained in:
2
dsi.c
2
dsi.c
@@ -158,7 +158,7 @@ top:
|
||||
SendDSIMessage(sess, &attentionReplyRec, NULL, NULL);
|
||||
CallAttentionRoutine(sess, aspAttenNormal, sess->attentionCode);
|
||||
} else if (sess->reply.command == DSICloseSession) {
|
||||
EndASPSession(sess, aspAttenClosed);
|
||||
EndASPSession(sess, aspAttenClosed, TRUE);
|
||||
return;
|
||||
} else if (sess->reply.command == DSITickle) {
|
||||
tickleRequestRec.requestID = htons(sess->nextRequestID++);
|
||||
|
||||
Reference in New Issue
Block a user