- Optimized the msg_list_item structure to make the buffer an
authorWayne Davison <wayned@samba.org>
Thu, 16 Mar 2006 00:57:54 +0000 (00:57 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 16 Mar 2006 00:57:54 +0000 (00:57 +0000)
commit954bbed84aef742d65327a4de0ea214ed90cb6b3
tree3661a21446ae53c7a3af3b464325de921e0ddc8d
parent7c329ec72c3ac92b10970fd0eb0573bd2af920de
- Optimized the msg_list_item structure to make the buffer an
  integral part of the structure instead of pointer to a
  separately allocated buffer.
- Improved the code that was ensuring that no messages from the
  receiver could be merged into the middle of a partially written
  buffer from the generator.  The new code ensures that we never
  avoid reading the messages from the receiver (like we used to).
  This ensures that the generator will not hang when the receiver
  got a read error on the socket, sent us a message about it, but
  the socket in the generator never becomes writable for it to get
  a similar error (now we are assured of getting the receiver's
  note about their read error, and we know to shut things down).
io.c