diff options
author | Alexander Tkachev | 2016-07-06 19:48:59 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 89a1a549822dee5b18d799cd9b8e5a58190aa49d (patch) | |
tree | e40e5a70aef513f02e92a1cc13468ba1f4c44324 /backends/networking/sdl_net/getclienthandler.h | |
parent | b40bfaa046370a2eeadcce1236f518315e8ada01 (diff) | |
download | scummvm-rg350-89a1a549822dee5b18d799cd9b8e5a58190aa49d.tar.gz scummvm-rg350-89a1a549822dee5b18d799cd9b8e5a58190aa49d.tar.bz2 scummvm-rg350-89a1a549822dee5b18d799cd9b8e5a58190aa49d.zip |
CLOUD: Update GetClientHandler's buffer
It's not static now and it's increased to 1 MB.
Diffstat (limited to 'backends/networking/sdl_net/getclienthandler.h')
-rw-r--r-- | backends/networking/sdl_net/getclienthandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/getclienthandler.h b/backends/networking/sdl_net/getclienthandler.h index f434df1a45..3486ceef8a 100644 --- a/backends/networking/sdl_net/getclienthandler.h +++ b/backends/networking/sdl_net/getclienthandler.h @@ -30,12 +30,15 @@ namespace Networking { +#define CLIENT_HANDLER_BUFFER_SIZE 1 * 1024 * 1024 + class GetClientHandler: public ClientHandler { Common::HashMap<Common::String, Common::String> _specialHeaders; long _responseCode; bool _headersPrepared; Common::String _headers; Common::SeekableReadStream *_stream; + byte *_buffer; static const char *responseMessage(long responseCode); void prepareHeaders(); |