Core/NetworkIO: Allow receiving packets bigger than buffer size and properly handle situations where not entire packet was read in one go

Core/Authserver: Restored authenticator functionality
This commit is contained in:
Shauren committed 2014-08-10 11:00:27 +02:00
1 parent 91053d557c
commit df11916ad5
9 files changed
+289 -149

No files matched your search

+5
View File
@@ -17,11 +17,16 @@
*/
#include "ByteBuffer.h"
#include "MessageBuffer.h"
#include "Common.h"
#include "Log.h"
#include <sstream>
ByteBuffer::ByteBuffer(MessageBuffer&& buffer) : _rpos(0), _wpos(0), _storage(buffer.Move())
{
}
ByteBufferPositionException::ByteBufferPositionException(bool add, size_t pos,
size_t size, size_t valueSize)
{