espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.71k stars 7.43k forks source link

fix(net): Allow to compile without IPv6 enabled #10582

Closed me-no-dev closed 1 week ago

me-no-dev commented 2 weeks ago

cc: @Jason2866

github-actions[bot] commented 2 weeks ago
Warnings
:warning: The Pull Request description looks very brief, please check if more details can be added.
:warning: The **target branch** for this Pull Request **must be the default branch** of the project (`master`). If you would like to add this feature to a different branch, please state this in the PR description and we will consider it.

πŸ‘‹ Hello me-no-dev, we appreciate your contribution to this project!


Click to see more instructions ...


This automated output is generated by the PR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with each push event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger is not a substitute for human code reviews; it's still important to request a code review from your colleagues.
- Resolve all warnings (⚠️ ) before requesting a review from human reviewers - they will appreciate it.
- To manually retry these Danger checks, please navigate to the Actions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by :no_entry_sign: dangerJS against 786d831d5aa3b86fba314fb027ae757ae95a1a11

github-actions[bot] commented 2 weeks ago

Test Results

 62 files   62 suites   7m 23s ⏱️  22 tests  21 βœ…β€ƒ0 πŸ’€β€ƒ1 ❌ 144 runsβ€Šβ€ƒ143 βœ…β€ƒ0 πŸ’€β€ƒ1 ❌

For more details on these failures, see this check.

Results for commit 786d831d.

:recycle: This comment has been updated with latest results.

Jason2866 commented 2 weeks ago

@me-no-dev Great! Thx. Will test ASAP

Jason2866 commented 2 weeks ago

Tested and build a framework without IPv6 support which worked to build an Arduino sketch with IPv4 only.

Jason2866 commented 1 week ago

When IPv6 is disabled in IDF there is something broken. The example sketch https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer/examples/HelloServer/HelloServer.ino does compile connects to the AP but the WebServer is not reachable. Ping gets replys from the esp IP address.

Jason2866 commented 1 week ago

@me-no-dev Webserver is now reachable with last commit. Build a small Tasmota Variant without IPv6 support. Looks like it is fully working.