mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
414f470c79
* Refactoring: part 1 * Refactoring: part 2 * Handle request using ReadBuffer interface * Struggles with ReadBuffer's * Fix URI parsing * Implement parsing of multipart/form-data * Check HTTP_LENGTH_REQUIRED before eof() or will hang * Fix HTTPChunkedReadBuffer * Fix build and style * Fix test * Resist double-eof * Fix arcadian build
19 lines
269 B
C++
19 lines
269 B
C++
#pragma once
|
|
|
|
#include <IO/ReadBuffer.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Just a stub - reads nothing from nowhere.
|
|
class EmptyReadBuffer : public ReadBuffer
|
|
{
|
|
public:
|
|
EmptyReadBuffer() : ReadBuffer(nullptr, 0) {}
|
|
|
|
private:
|
|
bool nextImpl() override { return false; }
|
|
};
|
|
|
|
}
|