mirror of
https://github.com/mabam/afpfs-ng-mac.git
synced 2026-04-25 23:18:33 +00:00
increase login timeout
This commit is contained in:
@@ -33,6 +33,7 @@ int dsi_recv(struct afp_server * server);
|
||||
//a spun down time capsule can take up to 20 secs to
|
||||
//wake up and reply to a mount request
|
||||
#define DSI_OPENVOLUME_TIMEOUT 20
|
||||
#define DSI_LOGIN_TIMEOUT 20
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -171,7 +171,7 @@ int afp_logincont(struct afp_server *server, unsigned short id,
|
||||
request->id = htons(id);
|
||||
memcpy(p, userauthinfo, userauthinfo_len);
|
||||
|
||||
ret = dsi_send(server, (char *)msg, len, DSI_DEFAULT_TIMEOUT,
|
||||
ret = dsi_send(server, (char *)msg, len, DSI_LOGIN_TIMEOUT,
|
||||
afpLoginCont, (void *)rx);
|
||||
free(msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user