diff options
author | Mike Buland <mike@xagasoft.com> | 2024-08-05 10:38:22 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2024-08-05 10:38:22 -0700 |
commit | f6f5206b1ac2ba48660db7b6858e32612a6ffd05 (patch) | |
tree | 13de4c170cebefd4bc8678ea71b2c0e2602b65de /src/tests/print.cpp | |
parent | bab5a53403fc4d89b0c61ccd6ce901c17fd379da (diff) | |
download | libbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.tar.gz libbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.tar.bz2 libbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.tar.xz libbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.zip |
Fixed buffer issue reading headers.
We were only reading 1k of data in before, but if a header was more than
1k then we just would give up. Now we read as much as we can that has
loaded into the buffer and if we run out we can try again, but if it's
just a very long header we'll deal with it properly still.
Diffstat (limited to 'src/tests/print.cpp')
0 files changed, 0 insertions, 0 deletions