diff options
author | Alexander Tkachev | 2016-06-15 21:59:03 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 99c51380fdc866ce393c52eb41803a9ec119a9ad (patch) | |
tree | 83511132a8a8a75cd75ca9d9a078aa4ca091ae55 /backends/networking/sdl_net/client.h | |
parent | 6126435b64442ae838953e095191230737391dca (diff) | |
download | scummvm-rg350-99c51380fdc866ce393c52eb41803a9ec119a9ad.tar.gz scummvm-rg350-99c51380fdc866ce393c52eb41803a9ec119a9ad.tar.bz2 scummvm-rg350-99c51380fdc866ce393c52eb41803a9ec119a9ad.zip |
CLOUD: Add ClientState::BAD_REQUEST
Diffstat (limited to 'backends/networking/sdl_net/client.h')
-rw-r--r-- | backends/networking/sdl_net/client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/client.h b/backends/networking/sdl_net/client.h index 74c700e447..7f78947223 100644 --- a/backends/networking/sdl_net/client.h +++ b/backends/networking/sdl_net/client.h @@ -34,7 +34,8 @@ namespace Networking { enum ClientState { INVALID, READING_HEADERS, - READ_HEADERS + READ_HEADERS, + BAD_REQUEST }; class Client { @@ -44,6 +45,7 @@ class Client { Common::String _headers; void checkIfHeadersEnded(); + void checkIfBadRequest(); public: Client(); |