Skip to content

Improve security and performance (fix #12)#14

Open
DIP72 wants to merge 1 commit intolocalrice:mainfrom
DIP72:fix/security_and_performance_improvements
Open

Improve security and performance (fix #12)#14
DIP72 wants to merge 1 commit intolocalrice:mainfrom
DIP72:fix/security_and_performance_improvements

Conversation

@DIP72
Copy link

@DIP72 DIP72 commented Oct 19, 2025

Overview:

This pull request resolves Issue #12 by addressing multiple performance, validation, and reliability concerns in the EasyWiFi library.

Changes Made:

  1. Removed delay(2000) and implemented a non-blocking timing mechanism using millis() for smoother task handling.
  2. Added proper SSID and password validation to prevent invalid credentials from being saved.
  3. Implemented explicit checks and user feedback for credential save failures.
  4. Modified server and dnsServer usage to avoid conflicts when multiple EasyWiFi instances are created.
  5. Introduced a watchdog/timeout feature to prevent the device from getting stuck in captive portal mode.

Impact:

These updates enhance the stability, security, and user experience of the EasyWiFi library by improving responsiveness and reducing potential runtime issues.

Note:

Fixes #12
Please review the changes and merge if they meet the project standards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Security and Performance Improvements in EasyWiFi Library

1 participant