summaryrefslogtreecommitdiffstats
path: root/src/core/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/transport')
-rw-r--r--src/core/transport/http/server/apache2/apache2_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/http/server/apache2/apache2_stream.c b/src/core/transport/http/server/apache2/apache2_stream.c
index 5e189a7..7c65968 100644
--- a/src/core/transport/http/server/apache2/apache2_stream.c
+++ b/src/core/transport/http/server/apache2/apache2_stream.c
@@ -111,7 +111,7 @@ apache2_stream_read(
{
read = apache2_ap_get_client_block(stream_impl->request, (char *) buffer + len,
count - len);
- if(read > 0)
+ if(read > 0 && read != 0xFFFFFFFF)
{
len += read;
}