Actions
Task #1777
closedSerialization of write operation in socket stream
Start date:
07/18/2014
Due date:
% Done:
100%
Estimated time:
Description
NFD has problem similar to one in issue #1769: async_send
is not guaranteed to send all the supplied data and async_write
should be used instead. However, async_write
requires that no other async_write's are called until the first one finished. This implies that we need to serialize send() operations in at least StreamFace (datagram face may work as is).
The problem is not too critical, as it manifested itself so far only with UnixSockets, when transmitted packet was larger than 8192 bytes.
If solution is too complex, for 0.2 release we may just document the issue and really fix the problem in the next release.
Updated by Alex Afanasyev over 10 years ago
- Status changed from New to Code review
- Assignee set to Alex Afanasyev
- % Done changed from 0 to 100
Updated by Alex Afanasyev over 10 years ago
- Related to Bug #1769: "error while connecting to forwarder" when using Face.put in a loop on large amount of data added
Updated by Alex Afanasyev over 10 years ago
- Status changed from Code review to Closed
- Target version changed from v0.2 to v0.3
Actions