Fixed reading chunked input data
When retrieving data block by block, use 8_192 instead of 1_024 (since 1_024 is too small most of the time)
This commit is contained in:
@@ -205,7 +205,7 @@ feature -- Retrieve content from WGI_INPUT_STREAM
|
||||
l_input := req.input
|
||||
if req.is_chunked_input then
|
||||
from
|
||||
n := 1_024
|
||||
n := 8_192
|
||||
create Result.make (n)
|
||||
until
|
||||
n = 0
|
||||
|
||||
@@ -21,7 +21,7 @@ feature {NONE} -- Implementation
|
||||
t: STRING
|
||||
do
|
||||
from
|
||||
n := 1_024
|
||||
n := 8_192
|
||||
create Result.make (n)
|
||||
until
|
||||
n = 0
|
||||
|
||||
@@ -207,7 +207,7 @@ feature -- Access: Input
|
||||
l_input := input
|
||||
if is_chunked_input then
|
||||
from
|
||||
n := 1_024
|
||||
n := 8_192
|
||||
until
|
||||
n = 0
|
||||
loop
|
||||
|
||||
Reference in New Issue
Block a user