rafthttp: limit the buffer for every read correctly

change this