diff options
author | Jaeseung Ha <ipknhama@gmail.com> | 2017-09-17 19:17:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-17 19:17:54 +0900 |
commit | d8c4a671760fda8e83279b9383108f0951367fb6 (patch) | |
tree | 0ad063878c09eec987d1d8054b66d11fd629ce30 /include/crow/http_connection.h | |
parent | 26c4d5ddef6920043ae40a9d80ca31f3b820bad5 (diff) | |
parent | 414809c742521926ca08fbd355b92f3ae877064f (diff) | |
download | crow-d8c4a671760fda8e83279b9383108f0951367fb6.tar.gz crow-d8c4a671760fda8e83279b9383108f0951367fb6.zip |
Merge branch 'master' into master
Diffstat (limited to 'include/crow/http_connection.h')
-rw-r--r-- | include/crow/http_connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crow/http_connection.h b/include/crow/http_connection.h index 96f2d14..1537d17 100644 --- a/include/crow/http_connection.h +++ b/include/crow/http_connection.h @@ -176,7 +176,7 @@ namespace crow } #ifdef CROW_ENABLE_DEBUG - static int connectionCount; + static std::atomic<int> connectionCount; #endif template <typename Adaptor, typename Handler, typename ... Middlewares> class Connection @@ -374,6 +374,7 @@ namespace crow {401, "HTTP/1.1 401 Unauthorized\r\n"}, {403, "HTTP/1.1 403 Forbidden\r\n"}, {404, "HTTP/1.1 404 Not Found\r\n"}, + {422, "HTTP/1.1 422 Unprocessable Entity\r\n"}, {500, "HTTP/1.1 500 Internal Server Error\r\n"}, {501, "HTTP/1.1 501 Not Implemented\r\n"}, |