(svn r26005) -Fix [FS#5478]: crash when transferring savegame from server to client
This commit is contained in:
@@ -75,16 +75,13 @@ public:
|
||||
CommandQueue outgoing_queue; ///< The command-queue awaiting delivery
|
||||
int receive_limit; ///< Amount of bytes that we can receive at this moment
|
||||
|
||||
Packet *savegame_packets; ///< Packet queue of the savegame; send these "slowly" to the client.
|
||||
struct PacketWriter *savegame; ///< Writer used to write the savegame.
|
||||
ThreadMutex *savegame_mutex; ///< Mutex for making threaded saving safe.
|
||||
NetworkAddress client_address; ///< IP-address of the client (so he can be banned)
|
||||
|
||||
ServerNetworkGameSocketHandler(SOCKET s);
|
||||
~ServerNetworkGameSocketHandler();
|
||||
|
||||
virtual Packet *ReceivePacket();
|
||||
virtual void SendPacket(Packet *packet);
|
||||
NetworkRecvStatus CloseConnection(NetworkRecvStatus status);
|
||||
void GetClientName(char *client_name, size_t size) const;
|
||||
|
||||
|
Reference in New Issue
Block a user