* called when new request body data has been buffered in in.buf
* may close the connection if we were closing and piped everything out
*/
-void
+bool
ConnStateData::handleRequestBodyData()
{
assert(bodyPipe != NULL);
* because mayNeedMoreData is true if request size is not known.
*/
comm_close(fd);
+ return false;
}
}
+ return true;
}
void
virtual void noteBodyConsumerAborted(BodyPipe::Pointer);
void handleReadData(char *buf, size_t size);
- void handleRequestBodyData();
+ bool handleRequestBodyData();
/**
* Correlate the current ConnStateData object with the pinning_fd socket descriptor.