diff options
Diffstat (limited to 'src/couchdb/couch_stream.erl')
-rw-r--r-- | src/couchdb/couch_stream.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couchdb/couch_stream.erl b/src/couchdb/couch_stream.erl index 103ebacb..964dc150 100644 --- a/src/couchdb/couch_stream.erl +++ b/src/couchdb/couch_stream.erl @@ -80,6 +80,7 @@ read(Fd, Sp, Num) -> copy_to_new_stream(Src, Sp, Len, DestFd) -> {ok, Dest} = open(DestFd), + ok = set_min_buffer(Dest, 0), {ok, NewSp} = copy(Src, Sp, Len, Dest), close(Dest), {ok, NewSp}. |