curl/Request: move struct Pause to class CurlResponseHandler

This commit is contained in:
Max Kellermann
2020-12-11 14:04:16 +01:00
committed by Max Kellermann
parent 5d7ff150dd
commit 1e3089ffb7
4 changed files with 11 additions and 8 deletions

View File

@@ -309,7 +309,7 @@ CurlInputStream::OnData(ConstBuffer<void> data)
if (data.size > GetBufferSpace()) {
AsyncInputStream::Pause();
throw CurlRequest::Pause();
throw CurlResponseHandler::Pause{};
}
AppendToBuffer(data.data, data.size);