if (length == 0 || endOfMatch == input) // no valid number
fail(Transfer::remoteFailure);
if (chunkLength) {
- debug("http", "reading chunk of %ld bytes", chunkLength);
+ secdebug("http", "reading chunk of %ld bytes", chunkLength);
mode(sink(), chunkLength);
state = chunkDownload;
} else {
- debug("http", "final chunk marker");
+ secdebug("http", "final chunk marker");
state = chunkTrailer;
observe(Observer::protocolReceive, "** END OF DATA **");
}
case idle:
{
// the only asynchronous event in idle mode is a connection drop
- debug("http",
+ secdebug("http",
"%p event %d while idle; destroying connection", this, event);
abort();
state = dead;