Commit 7e9e0edd authored by gongweibao's avatar gongweibao

cleanup

parent 4a41e9a8
...@@ -53,7 +53,7 @@ class IOBuf { ...@@ -53,7 +53,7 @@ class IOBuf {
friend class IOBufAsZeroCopyInputStream; friend class IOBufAsZeroCopyInputStream;
friend class IOBufAsZeroCopyOutputStream; friend class IOBufAsZeroCopyOutputStream;
public: public:
static const size_t DEFAULT_BLOCK_SIZE = (1 << 16); static const size_t DEFAULT_BLOCK_SIZE = 8192;
static const size_t DEFAULT_PAYLOAD = DEFAULT_BLOCK_SIZE - 16/*impl dependent*/; static const size_t DEFAULT_PAYLOAD = DEFAULT_BLOCK_SIZE - 16/*impl dependent*/;
static const size_t MAX_BLOCK_SIZE = (1 << 16); static const size_t MAX_BLOCK_SIZE = (1 << 16);
static const size_t MAX_PAYLOAD = MAX_BLOCK_SIZE - 16/*impl dependent*/; static const size_t MAX_PAYLOAD = MAX_BLOCK_SIZE - 16/*impl dependent*/;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment