From b4fd04ad9f537f5a94b317803d032de347a75a20 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Wed, 5 Oct 2016 16:19:48 +0200 Subject: [PATCH] Updated `has_incoming_data` comment. --- .../standalone/lib/httpd/network/httpd_stream_socket.e | 2 ++ .../connectors/standalone/lib/httpd/network/tcp_stream_socket.e | 2 ++ 2 files changed, 4 insertions(+) diff --git a/library/server/ewsgi/connectors/standalone/lib/httpd/network/httpd_stream_socket.e b/library/server/ewsgi/connectors/standalone/lib/httpd/network/httpd_stream_socket.e index 45f9f5cf..7532288c 100644 --- a/library/server/ewsgi/connectors/standalone/lib/httpd/network/httpd_stream_socket.e +++ b/library/server/ewsgi/connectors/standalone/lib/httpd/network/httpd_stream_socket.e @@ -318,6 +318,8 @@ feature -- Status Report end has_incoming_data: BOOLEAN + -- Check if Current has available data to be read. + -- note: no data will not be removed from the queue. do if attached {TCP_STREAM_SOCKET} socket as l_socket then Result := l_socket.has_incoming_data diff --git a/library/server/ewsgi/connectors/standalone/lib/httpd/network/tcp_stream_socket.e b/library/server/ewsgi/connectors/standalone/lib/httpd/network/tcp_stream_socket.e index 0a5cb44b..2ea98a09 100644 --- a/library/server/ewsgi/connectors/standalone/lib/httpd/network/tcp_stream_socket.e +++ b/library/server/ewsgi/connectors/standalone/lib/httpd/network/tcp_stream_socket.e @@ -106,6 +106,8 @@ feature -- Output feature -- Status report has_incoming_data: BOOLEAN + -- Check if Current has available data to be read. + -- note: no data will not be removed from the queue. require socket_exists: exists do