diff options
Diffstat (limited to 'src/XmlRpcRequestParserController.cc')
| -rw-r--r-- | src/XmlRpcRequestParserController.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/XmlRpcRequestParserController.cc b/src/XmlRpcRequestParserController.cc index 6c9a543f..957766aa 100644 --- a/src/XmlRpcRequestParserController.cc +++ b/src/XmlRpcRequestParserController.cc @@ -92,6 +92,15 @@ XmlRpcRequestParserController::getCurrentFrameValue() const return currentFrame_.value_; } +void XmlRpcRequestParserController::reset() +{ + while(!frameStack_.empty()) { + frameStack_.pop(); + } + currentFrame_.reset(); + methodName_.clear(); +} + } // namespace rpc } // namespace aria2 |
