disabled dbg messages for multipart template subst

master
Ondřej Hruška 9 years ago
parent 6a6b7caeb7
commit 691f9495af
  1. 4
      libesphttpd/core/httpdespfs.c

@ -246,7 +246,7 @@ int ICACHE_FLASH_ATTR cgiEspFsTemplate(HttpdConnData *connData)
// resume the parser state from the last token, // resume the parser state from the last token,
// if subst. func wants more data to be sent. // if subst. func wants more data to be sent.
if (tpd->chunk_resume) { if (tpd->chunk_resume) {
dbg("Resuming tpl parser for multi-part subst"); // dbg("Resuming tpl parser for multi-part subst");
// resume // resume
len = tpd->buff_len; len = tpd->buff_len;
e = tpd->buff_e; e = tpd->buff_e;
@ -292,7 +292,7 @@ int ICACHE_FLASH_ATTR cgiEspFsTemplate(HttpdConnData *connData)
int status = ((TplCallback)(connData->cgiArg))(connData, tpd->token, &tpd->tplArg); int status = ((TplCallback)(connData->cgiArg))(connData, tpd->token, &tpd->tplArg);
if (status == HTTPD_CGI_MORE) { if (status == HTTPD_CGI_MORE) {
dbg("Multi-part tpl subst, saving parser state"); // dbg("Multi-part tpl subst, saving parser state");
// wants to send more in this token's place..... // wants to send more in this token's place.....
tpd->chunk_resume = true; tpd->chunk_resume = true;

Loading…
Cancel
Save