File diff r23538:8df50944b27a → r23539:bce8329ee42d
src/network/network_client.cpp
Show inline comments
 
@@ -38,13 +38,13 @@
 

	
 

	
 
/** Read some packets, and when do use that data as initial load filter. */
 
struct PacketReader : LoadFilter {
 
	static const size_t CHUNK = 32 * 1024;  ///< 32 KiB chunks of memory.
 

	
 
	AutoFreeSmallVector<byte *, 16> blocks; ///< Buffer with blocks of allocated memory.
 
	AutoFreeSmallVector<byte *> blocks;     ///< Buffer with blocks of allocated memory.
 
	byte *buf;                              ///< Buffer we're going to write to/read from.
 
	byte *bufe;                             ///< End of the buffer we write to/read from.
 
	byte **block;                           ///< The block we're reading from/writing to.
 
	size_t written_bytes;                   ///< The total number of bytes we've written.
 
	size_t read_bytes;                      ///< The total number of read bytes.