From: Andrew M. <rh...@us...> - 2003-10-03 04:07:06
|
Update of /cvsroot/planeshift/planeshift/docs In directory sc8-pr-cvs1:/tmp/cvs-serv9780 Modified Files: history.txt Log Message: More network fixes. These may be some of the last. Let me know if there are any troubles. Turn on LOG_NET messages in log.cpp if you're having problems. Index: history.txt =================================================================== RCS file: /cvsroot/planeshift/planeshift/docs/history.txt,v retrieving revision 1.951 retrieving revision 1.952 diff -C2 -d -r1.951 -r1.952 *** history.txt 3 Oct 2003 03:45:29 -0000 1.951 --- history.txt 3 Oct 2003 04:07:00 -0000 1.952 *************** *** 1,2 **** --- 1,18 ---- + *** 2003-10-03 by Andrew Mann + - Formatting in message.h adjusted to be readable. + - psMessage::SetSize() should now correctly handle endian issues. + - More bugfixes to network code: + - Multipackets now check the validity of received data before trying + to pull sub packet data out of the ether. + - Message warns if Add() functions would overwrite the allocated buffer. + Note that at this time messages longer than 2048 bytes will be truncated + on the receiving end. This is not a change from previous behavior, you + just get a Debug(LOG_NET) message about it now. We may want to increase + this size (see message.h constructors). + - Message Get*() functions will no longer read beyond the end of the buffer. + They will advance the current pointer to the end of the buffer and return + a 0 or NULL (as appropriate for the specific call). Some message crackers + may not expect this behavior - that's next on the list for review. + *** 2003-10-02 by Andrew Mann - Added missing include to psglyph.h for support of uint64_t with msvc. |