remove usage of the deprecated max_buffer_size
2 files changed