2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 08:25:16 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Stephen Morris
db57bdd2f3 [trac499] Add missing newlines to the end of some files
... which causes Solaris to complain - loudly.
2011-03-09 14:19:36 +00:00
Stephen Morris
6c1f3af003 [trac499] Correct problem with receiving large responses
The TCP handling reads into an intermediate staging buffer.  The
problem was that this buffer wasn't being emptied between multiple
reads, only after the last one.  If the total amount of data
received was more than the staging buffer size, the code failed
attempting to write beyond the buffer end.

This fix empties the staging buffer after (more or less) every
read from the network.
2011-03-04 14:58:53 +00:00
Stephen Morris
77027490d5 [trac499] Add "normalization" of received data
... i.e. copying TCP data into the receive buffer omitting the leading
two-byte message length.
2011-02-28 19:24:01 +00:00
Stephen Morris
f4b20fc54b [trac499] Finish TCPSocket and IOFetch and associated unit tests 2011-02-28 18:00:54 +00:00
Stephen Morris
682436e844 [trac499] Completed TCPSocket and unit tests 2011-02-28 14:27:01 +00:00
Stephen Morris
b13c2fd090 [trac499] Checkpoint of work to end of Friday 25 Feb 2011 2011-02-25 20:32:59 +00:00