-
I've noted the following warning for each request to AutoConnect portal pages created by me.
A simple example page: // Building and creating the Configuration resul page
AutoConnectAux* MyPortal::configResultPage(){
AutoConnectElement* myText = new AutoConnectText("area_results", "","","", AC_Tag_None);
AutoConnectElement* myDone = new AutoConnectSubmit("done", "Klar", HOME_PAGE);
return new AutoConnectAux(CONFIG_DONE_PAGE, CONFIG_PAGE_HEADER, false, {*myText, *myDone});;
} I do use a callback: AutoConnectPortal->on(CONFIG_DONE_PAGE, std::bind<String>(&MyPortal::onAreaResults, this, std::placeholders::_1, std::placeholders::_2)); And I suspect it may be related to the fact that I return an "empty" string. String MyPortal::onAreaResults(AutoConnectAux& aux, PageArgument& args){
...
return String();
} This is not impacting the behavior, but I wanted to make a note that this occurs and also try to understand what the callback is expected to return. /Marcus |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The send member function of the WebServer class logs " And, Perhaps the answer to what you want to do is in |
Beta Was this translation helpful? Give feedback.
-
?? Hm ?? EDIT I have confirmed on the client browser side that the chunked transfer is successful. |
Beta Was this translation helpful? Give feedback.
?? Hm ??
Isn't that simply the start sign of a chunk? Because PageBuilder will chunk the transfer encoding if the content length is not predetermined. It is not a problem with AutoConnect, nor of course with
return String()
. Rather, it is the other way around, and PageBuilder's auto-chanking seems to work fine.EDIT
I have confirmed on the client browser side that the chunked transfer is successful.