mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
serialise: fix buffer size used, hide method for internal use only
Fixes #2169.
This commit is contained in:
parent
966407bcf1
commit
b08923b4a0
3 changed files with 9 additions and 5 deletions
|
@ -197,7 +197,8 @@ struct TunnelSource : BufferedSource
|
|||
{
|
||||
Source & from;
|
||||
TunnelSource(Source & from) : from(from) { }
|
||||
size_t readUnbuffered(unsigned char * data, size_t len)
|
||||
protected:
|
||||
size_t readUnbuffered(unsigned char * data, size_t len) override
|
||||
{
|
||||
to << STDERR_READ << len;
|
||||
to.flush();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue