Repository navigation
Raise the socket limit so that the HTTP server can accept a connection while Tailscale starts #92
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Existing local builds keep the old socket limits.
sdkconfigis gitignored and generated per build directory. ESP-IDF appliessdkconfig.defaultsonly to values that the existingsdkconfigdoes not set. A developer with an existingsdkconfigwho runs an incremental build keepsCONFIG_LWIP_MAX_SOCKETS=16andCONFIG_LWIP_MAX_ACTIVE_TCP=16. The repository has no check or documented step that updates these keys. The Tailscale startup failure can persist for that developer.Release and CI builds use fresh or explicitly configured build directories, so they are not affected. The gap applies to local incremental builds.
Detect the old values and stop the build with a message that names the keys. Follow the existing TinyUSB check in
CMakeLists.txtas a model. Otherwise, document in this change that developers must deletesdkconfigor runidf.py fullcleanbefore the next build. (docs.espressif.com)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct for a build directory that keeps its
sdkconfig, and I leave it as it is. This holds for every key insdkconfig.defaults, not for these two only, and a check per key would repeat each value inCMakeLists.txt. The TinyUSB check exists for another reason: a fresh build directory lacks that symbol, so every first build needs it. The firmware images that reach a Mini come from theDockerfile, which configures in a fresh build directory, and so do CI and the combined-load walk.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Analysis chain
Script executed:
Length of output: 34000
web_search executed:
In ESP-IDF v6.0.2, does idf.py fullclean delete the sdkconfig file? Check official versioned build system documentation, including the effects when SDKCONFIG is inside or outside the build directory.Length of output: 16875
@adamshiervaniUnderstood. I’ll leave the finding unaddressed.One correction to my earlier advice:
idf.py fullcleandoes not remove ansdkconfigoutside the build directory. It is not a general way to apply updated defaults.Learnings added
You are interacting with an AI system.