Changeset 2303 for box/trunk/lib/server/Protocol.cpp
- Timestamp:
- 30/09/2008 22:07:36 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/lib/server/Protocol.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/server/Protocol.cpp
r1471 r2303 750 750 751 751 // Send final byte to finish the stream 752 BOX_TRACE("Sending end of stream byte"); 752 753 uint8_t endOfStream = ProtocolStreamHeader_EndOfStream; 753 754 mrStream.Write(&endOfStream, 1); 755 BOX_TRACE("Sent end of stream byte"); 754 756 } 755 757 catch(...) … … 789 791 if(BytesInBlock == 0) 790 792 { 793 BOX_TRACE("Zero size block, not sending anything"); 791 794 return 0; 792 795 } … … 814 817 } 815 818 ASSERT(header > 0); 819 BOX_TRACE("Sending header byte " << header << " plus " << writeSize << 820 " bytes to stream"); 816 821 817 822 // Store the header … … 821 826 mrStream.Write(Block - 1, writeSize + 1); 822 827 828 BOX_TRACE("Sent " << (writeSize+1) << " bytes to stream"); 823 829 // move the remainer to the beginning of the block for the next time round 824 830 if(writeSize != BytesInBlock)
Note: See TracChangeset
for help on using the changeset viewer.
