mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #1659] Custom Parameter dont show #1409
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1409
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @woodenplastic on GitHub (Sep 26, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1659
Hi,
When i use more than 20 custom Parameter the captive Portal doesnt work anymore and i have to refresh the Seite endlessly until the parameters randomly appear.
Is there any limits for parameters i have to keep in mind?
@tablatronix commented on GitHub (Sep 29, 2023):
you are running out of memory, either in param storage or in the html string flush, There are some things we can do to reduce that but will require code changes
@woodenplastic commented on GitHub (Sep 30, 2023):
i searched some other issues and i saw other people having this problem if i use a lot of custom html parameters. i saw branches with chunked respones but im not able to get it done because i lost oversight over all needed changes. is there a way you could show me how to do it?
@tablatronix commented on GitHub (Sep 30, 2023):
Yeah no-one ever tested those, I will try to update them, I intended to add a dynamic param test to add a bunch to test memory, and these fixes and never got around to it. There is also the option to multipart flush the webserver output, not sure how though
@woodenplastic commented on GitHub (Sep 30, 2023):
That would be lovely! I will do testing if you got something.
I am working on a example to show checkboxes and sliders with easy styling to contribute something. It seems to be a problem for many people.
With the css updated this library is a capable solution for a lot of usecases.
@woodenplastic commented on GitHub (Oct 3, 2023):
void WiFiManager::HTTPSend(const String &content) {
server->sendHeader("Transfer-Encoding", "chunked");
server->send(200, "text/html", ""); // Send the initial HTTP headers
size_t contentLength = content.length();
size_t chunkSize = 256; // Adjust this value based on your requirements
for (size_t i = 0; i < contentLength; i += chunkSize) {
size_t chunkEnd = min(i + chunkSize, contentLength);
size_t chunkLength = chunkEnd - i;
}
// Send a zero-length chunk to indicate the end of the response
server->sendContent("0\r\n\r\n");
}
that helped a lot for me, parameters show now 50% up in wifi (interestingly not in wifinoscan). Still captive portal not working.
@timr49 commented on GitHub (Jun 29, 2025):
Hi @woodenplastic - not sure you got to with this but if it helps I developed a chunking enhancement for WiFiManager, which you can get from branch Chunking in the repo https://github.com/timr49/WiFiManager
It is described in https://github.com/timr49/WiFiManager/blob/Chunking/PAGE.md
@tablatronix commented on GitHub (Jun 29, 2025):
I have a test branch for this and didnt get very far with testing it, Ill take a look at what you have created
@timr49 commented on GitHub (Jun 30, 2025):
Thanks, @tablatronix . I look forward to your feedback.