diff options
author | Dimitri Staessens <[email protected]> | 2018-03-23 23:51:39 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-03-25 12:15:03 +0200 |
commit | 2975db4c62d9fba5cecc265ce794c7371f835953 (patch) | |
tree | faef3b0607d6fcbebaffae55514fc68c483abf9a /src/lib/instance_name.c | |
parent | e78740a4da0feb678f22bbc22b4c14a1f9a7bf7f (diff) | |
download | ouroboros-2975db4c62d9fba5cecc265ce794c7371f835953.tar.gz ouroboros-2975db4c62d9fba5cecc265ce794c7371f835953.zip |
tools: Increase read buffer in ocbr server
The ocbr server had a 1500 byte read buffer, which caused it to
perform partial reads on larger SDUs, slowing it down considerably
when sendin large packets. The buffer has been increased to 512KB,
partial reads disabled, and the client will give an error when larger
frames are sent. It will also warn if the size overflows (avoiding a
SEGV).
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/instance_name.c')
0 files changed, 0 insertions, 0 deletions