From: daftshady Date: Sun, 26 Oct 2014 12:06:59 +0000 (+0900) Subject: fixed error message in iostream X-Git-Tag: v4.1.0b1~62^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1231%2Fhead;p=thirdparty%2Ftornado.git fixed error message in iostream --- 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.