Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

long timeout on startup #3082

Closed
mc-butler opened this issue Sep 27, 2013 · 3 comments
Closed

long timeout on startup #3082

mc-butler opened this issue Sep 27, 2013 · 3 comments
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress ver: 4.8.10 Reproducible in version 4.8.10

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3082
Reporter nadvornik

mc calls gethostbyname() at least 6 times on startup. When there is some problem with DNS, it can lead to very long timeouts (like 5 minutes).

The attached patch reduces the number of gethostbyname calls to one.

It could be further improved by calling the smbfs initialization only if the smbfs is really used.

See also
https://bugzilla.novell.com/show_bug.cgi?id=824729

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by nadvornik on Sep 27, 2013 at 12:26 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 27, 2013 at 14:19 UTC (comment 1)

  • Component changed from mc-core to mc-vfs

This is definitly WONTFIX because of #1.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 3, 2013 at 6:01 UTC (comment 2)

  • Status changed from new to closed
  • Milestone Future Releases deleted
  • Resolution set to duplicate

Closed as duplicate of #40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress ver: 4.8.10 Reproducible in version 4.8.10
Development

No branches or pull requests

1 participant