stop printing unnecessary debug info

This commit is contained in:
Me No Dev 2016-01-21 10:40:01 +02:00
parent 41846249ec
commit 1e7b9446df
2 changed files with 3 additions and 4 deletions

View File

@ -354,7 +354,6 @@ AsyncResponseStream::~AsyncResponseStream(){
} }
size_t AsyncResponseStream::_fillBuffer(uint8_t *buf, size_t maxLen){ size_t AsyncResponseStream::_fillBuffer(uint8_t *buf, size_t maxLen){
os_printf("fb:%u\n",maxLen);
return _content->read((char*)buf, maxLen); return _content->read((char*)buf, maxLen);
} }

View File

@ -147,11 +147,11 @@ void AsyncWebServerRequest::_onAck(size_t len, uint32_t time){
} }
void AsyncWebServerRequest::_onError(int8_t error){ void AsyncWebServerRequest::_onError(int8_t error){
os_printf("e:%d:%u\n", error, _client->state()); //os_printf("e:%d:%u\n", error, _client->state());
} }
void AsyncWebServerRequest::_onTimeout(uint32_t time){ void AsyncWebServerRequest::_onTimeout(uint32_t time){
os_printf("t:%u\n", time); //os_printf("t:%u\n", time);
_client->close(); _client->close();
} }
@ -439,7 +439,7 @@ void AsyncWebServerRequest::_parseMultipartPostByte(uint8_t data, bool last){
_boundaryPosition++; _boundaryPosition++;
} }
} else if(_multiParseState == DASH3_OR_RETURN2){ } else if(_multiParseState == DASH3_OR_RETURN2){
os_printf("X:%u:'%c'\n",_contentLength - _parsedLength - 4,data); //os_printf("X:%u:'%c'\n",_contentLength - _parsedLength - 4,data);
if(data == '\r'){ if(data == '\r'){
_multiParseState = EXPECT_FEED2; _multiParseState = EXPECT_FEED2;
} else if(data == '-' && _contentLength == (_parsedLength + 4)){ } else if(data == '-' && _contentLength == (_parsedLength + 4)){