Commit graph

29 commits

Author SHA1 Message Date
eidheim
f55eb4af65 Changed ContentDisposition::parse to HttpHeader::FieldValue::SemicolonSeparated::parse. This function can now also parse Set-Cookie header field values 2017-11-07 22:15:06 +01:00
eidheim
bc4c49134d Removed unnecessary cstddef includes 2017-09-30 12:08:53 +02:00
knowledge4igor
2cfaa0e2a0 Mini refactoring: using std::size_t and std::numeric_limits 2017-09-25 23:33:31 +03:00
knowledge4igor
3ab6cd8a39 Change 'typedef' constructions to type aliases 2017-09-05 01:32:21 +03:00
eidheim
a3d70bbcb5 Fixed HttpHeader::parse signature, and added ContentDisposition::parse 2017-09-04 15:55:26 +02:00
eidheim
5e5a4c8c3b Added noexcept to HttpHeader::parse 2017-09-02 18:49:22 +02:00
eidheim
9e5f86edcd Added HttpHeader::parse 2017-09-02 18:44:48 +02:00
eidheim
cc838b6ec2 Minor utility.hpp cleanup 2017-08-13 00:07:45 +02:00
eidheim
64bd58e5da Fixes #149: added and resolved -Wsign-conversion warnings 2017-08-12 15:36:28 +02:00
eidheim
dcaad5e9da Minor comment cleanup 2017-07-26 08:05:02 +02:00
eidheim
7dd2d2108a Added noexcept 2017-07-22 12:50:40 +02:00
eidheim
e3789b6d4d ScopeRunner::stop now returns if count is already negative 2017-07-20 18:32:35 +02:00
eidheim
474fab90f3 Renamed ScopesContinue to ScopeRunner, and some related cleanup 2017-07-20 17:21:19 +02:00
eidheim
70e8c3104c Renamed ContinueScopes to ScopesContinue 2017-07-20 11:31:58 +02:00
eidheim
06322ab604 Minor cleanup of utility.hpp 2017-07-20 10:10:46 +02:00
eidheim
35f835a67b Cancel handlers feature: replaced readers-writer lock with a spinlock implementation 2017-07-20 10:04:05 +02:00
eidheim
e824aba871 Changed include guards in utility.hpp 2017-07-19 08:10:43 +02:00
eidheim
b89f5635a5 Moved request and response message parsing to utility.hpp 2017-07-19 08:03:23 +02:00
eidheim
c03e378e69 Comments addition and cleanup 2017-07-10 11:12:10 +02:00
eidheim
653e24296b Improved includes in utility.hpp 2017-07-09 23:12:02 +02:00
eidheim
9b5063f422 Replaced Server/Client::shared_from_this with asio callback checks if the Server/Client has been destroyed. Also added SharedMutex to utility.hpp. 2017-07-07 11:25:06 +02:00
eidheim
80ab651fca Removed deprecated functions 2017-07-03 14:31:22 +02:00
eidheim
e50d2fc63a Added .clang-format file and applied style to source files 2017-06-26 15:23:29 +02:00
eidheim
bf379ebcba Server::Response::write convenience functions no longer write Content-Length if close_connection_after_response is set. Also added some doxygen comments 2017-06-26 07:16:50 +02:00
eidheim
98d9617244 Added QueryString class with create and parse functions to utility.hpp 2017-06-25 16:43:49 +02:00
eidheim
1d9e900f44 Added Percent::encode 2017-06-25 14:32:38 +02:00
eidheim
d9faf1a6cb Added Status Code header 2017-06-22 18:06:40 +02:00
eidheim
d553ca7a89 Cleanup of parse_query_string and fixed a potential segmentation fault 2017-06-22 14:44:55 +02:00
eidheim
ba4eec7ebe Created Utility.hpp and moved some code into this file. Also improved parse_query_string. 2017-06-22 12:08:56 +02:00