mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Set some reasonable limits for sending information to the debugger, closes #5848
This commit is contained in:
@@ -75,7 +75,8 @@ class PacketPeerStream : public PacketPeer {
|
||||
|
||||
mutable Ref<StreamPeer> peer;
|
||||
mutable RingBuffer<uint8_t> ring_buffer;
|
||||
mutable Vector<uint8_t> temp_buffer;
|
||||
mutable Vector<uint8_t> input_buffer;
|
||||
mutable Vector<uint8_t> output_buffer;
|
||||
|
||||
Error _poll_buffer() const;
|
||||
|
||||
@@ -92,6 +93,7 @@ public:
|
||||
|
||||
void set_stream_peer(const Ref<StreamPeer> &p_peer);
|
||||
void set_input_buffer_max_size(int p_max_size);
|
||||
void set_output_buffer_max_size(int p_max_size);
|
||||
PacketPeerStream();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user