eidheim
|
1ae9f69b1f
|
Added missing include
|
2018-07-23 21:35:16 +02:00 |
|
eidheim
|
56b1df1ee5
|
Moved SimpleWeb::string_view to utility.hpp, and made use of string_view in Server::Response::write
|
2018-07-12 08:43:07 +02:00 |
|
eidheim
|
8b75c14aef
|
Fixes #231: added checks to getline calls in parse functions so that they can be used outside the Server/Client classes
|
2018-07-04 20:47:47 +02:00 |
|
eidheim
|
fb4a17d5ed
|
Fixes #203: header field values are now correctly parsed even with more than 1 space after :
|
2018-01-24 13:04:06 +01:00 |
|
eidheim
|
d0a0ca2941
|
Resolves #184: further fixes to Percent::encode
|
2018-01-03 18:38:39 +01:00 |
|
eidheim
|
bbbf350693
|
Fixes Percent::encode issue mentioned in #184
|
2018-01-03 18:11:23 +01:00 |
|
eidheim
|
2860f76139
|
HttpHeader::FieldValue::SemicolonSeparated renamed to HttpHeader::FieldValue::SemicolonSeparatedAttributes, and cleanup of HttpHeader::FieldValue::SemicolonSeparatedAttributes::parse, attribute values are now also percent-decoded
|
2017-11-08 11:30:21 +01:00 |
|
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 |
|