From 09e7e2d108efb8056ec06038837752b7a2313fbf Mon Sep 17 00:00:00 2001 From: daftshady Date: Sun, 26 Oct 2014 21:06:59 +0900 Subject: [PATCH] fixed error message in iostream --- tornado/iostream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/iostream.py b/tornado/iostream.py index eced6d648..2d5df9923 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -331,7 +331,7 @@ class BaseIOStream(object): if data: if (self.max_write_buffer_size is not None and self._write_buffer_size + len(data) > self.max_write_buffer_size): - raise StreamBufferFullError("Reached maximum read buffer size") + raise StreamBufferFullError("Reached maximum write buffer size") # Break up large contiguous strings before inserting them in the # write buffer, so we don't have to recopy the entire thing # as we slice off pieces to send to the socket. -- 2.47.2