#1389051, #1092502: fix excessively large allocations when using read() on a socket
1 file changed