mirror of
https://github.com/mabam/afpfs-ng-mac.git
synced 2025-01-01 01:29:20 +00:00
increase login timeout
This commit is contained in:
parent
fac89c1978
commit
24e186b686
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user