eidheim
|
337ee19cef
|
Correction of Server::Response::write
|
2017-06-22 22:23:07 +02:00 |
|
eidheim
|
6b7fd993cf
|
Added convenience function Client::Response::Content::string()
|
2017-06-22 22:00:59 +02:00 |
|
eidheim
|
4efdc095bd
|
Added convenience write functions to Server::response
|
2017-06-22 21:46:01 +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 |
|
eidheim
|
62da9daf87
|
Added Server::on_error and async client request examples
|
2017-06-20 14:36:05 +02:00 |
|
eidheim
|
1d34b7f3de
|
Minor change in io_test.cpp
|
2017-06-19 12:37:50 +02:00 |
|
eidheim
|
52ff2787bd
|
Removed use of boost::shared_mutex (in Client). Stopping request handlers, if needed, is now up to the user of the library. If io_service is running on multiple threads, a shared_mutex is needed, otherwise, regular mutex is adequate.
|
2017-06-19 06:52:30 +02:00 |
|
eidheim
|
fae8e07faa
|
Removed dependency of boost::string_ref if USE_STANDALONE_ASIO is defined
|
2017-06-18 08:11:27 +02:00 |
|
eidheim
|
e1aebba344
|
Fixes #114: added support for async client requests. Also includes some cleanup, support for parallel requests, and client reconnect
|
2017-06-17 11:52:13 +02:00 |
|
eidheim
|
f5ba673350
|
Further cleanup of Client
|
2017-06-12 11:52:37 +02:00 |
|
eidheim
|
e2981c340b
|
Cleanup of Client in preparation for async request
|
2017-06-12 10:53:22 +02:00 |
|
eidheim
|
2096017b24
|
Standalone asio correction in Client
|
2017-06-12 09:42:29 +02:00 |
|
eidheim
|
944c7fe370
|
Client::resolver is no longer a member variable
|
2017-06-12 08:32:27 +02:00 |
|
eidheim
|
a0cd7520ba
|
Made Client::create_request_header const, and cleanup of indentations in Client
|
2017-06-12 08:22:40 +02:00 |
|
eidheim
|
5baffbc3f1
|
Cleanup of Client::request in preparation for async requests
|
2017-06-12 08:14:34 +02:00 |
|
eidheim
|
45f84489bc
|
Client::io_service is now shared_ptr
|
2017-06-12 07:57:10 +02:00 |
|
eidheim
|
83691c6e9a
|
Fixes #129: linking issues related to case_insensitive_equal and make_error_code
|
2017-06-10 15:03:27 +02:00 |
|
Ole Christian Eidheim
|
e82ba25e3e
|
Merge pull request #128 from eidheim/standalone_asio
Standalone asio
|
2017-06-10 12:15:35 +02:00 |
|
eidheim
|
111aeeb7fc
|
Renamed case insensitive function and classes, and added test for case_insensitive_equal
|
2017-06-10 11:17:49 +02:00 |
|
eidheim
|
cc15aac704
|
Added tests for case_insensitive_equals and case_insensitive_hash
|
2017-06-07 19:28:21 +02:00 |
|
eidheim
|
ec63c4345e
|
Cleanup of #127: using standalone asio.
|
2017-06-07 19:27:34 +02:00 |
|
Sébastien Huss
|
46536c394b
|
Oups left tests in places, removed
|
2017-06-05 07:50:32 +02:00 |
|
Sébastien Huss
|
d50bcabf8e
|
added Support for NO_BOOST
|
2017-06-05 07:39:58 +02:00 |
|
eidheim
|
3f8fcc0c31
|
Removed unused lambda captures in examples
|
2017-06-02 07:34:44 +02:00 |
|
eidheim
|
7a1a23bf9c
|
Fixes #126: unreachable code in http(s) examples
|
2017-05-30 19:05:20 +02:00 |
|
eidheim
|
4469de156b
|
Fixed g++ error in Server::Request::parse_query_string
|
2017-05-27 09:44:00 +02:00 |
|
eidheim
|
550bbfe9d7
|
Finished query string parsing implementation (PR #109)
|
2017-05-27 09:07:13 +02:00 |
|
eidheim
|
e68488a157
|
Merge branch 'master' of https://github.com/harella1/Simple-Web-Server
|
2017-05-26 11:36:41 +02:00 |
|
Vladimir Venediktov
|
cfafbcbc7d
|
Added support for request header Connection: keep-alive (see #123)
|
2017-05-06 09:05:37 +02:00 |
|
Santiago Castro
|
a859c42b41
|
Fix broken Markdown headings
|
2017-04-18 00:47:03 -03:00 |
|
ProTrack
|
e585a7a5bc
|
If query string is present then cut it from the reqeust path so find resource won't fail
|
2017-02-27 10:13:33 +02:00 |
|
eidheim
|
6192c131ef
|
Fixed #112: Client now supports Connection: close responses without Content-Length and Transfer-Encoding. Also supports HTTP 1.0 responses that does not specify content length
|
2017-02-24 19:16:15 +01:00 |
|
David Siroky
|
50ce7510ef
|
remove locale dependent stof()
e.g. stof("1.1") might return 1.0 if the locale decimal delimiter is ","
|
2017-02-14 10:16:44 +01:00 |
|
ProTrack
|
d554c13db5
|
Travis CI build failed
|
2017-02-05 16:19:42 +02:00 |
|
ProTrack
|
a4dd2e6444
|
Added query string parsing and member to request
|
2017-02-05 16:01:00 +02:00 |
|
eidheim
|
de560e8b48
|
Renamed close_connection_after_send to close_connection_after_response, and changed the documentation of this variable slightly
|
2017-01-24 14:18:41 +01:00 |
|
Patrick Boettcher
|
600fbe39b2
|
Possible implementation for fixing #106
|
2017-01-24 13:23:33 +01:00 |
|
eidheim
|
91d01fb8ec
|
Fixes #101: added Config::timeout_connect
|
2017-01-21 10:22:27 +01:00 |
|
Wei Dong
|
19627bbe6b
|
Fixed Boost.Regex workaround in regex_orderable. Fixes #100
|
2017-01-11 11:37:48 +01:00 |
|
eidheim
|
f5e65bf422
|
Removed unnecessary public:
|
2017-01-02 17:19:59 +01:00 |
|
eidheim
|
fa8c381a4f
|
Added warning to Server::resource
|
2017-01-02 12:52:37 +01:00 |
|
eidheim
|
8cdebfb612
|
Code simplification: got rid of opt_resource at minimal cost. Now utilise map instead of unordered map in resource and default_resource
|
2017-01-02 10:58:41 +01:00 |
|
eidheim
|
bfcb325472
|
Added on_upgrade for cases where one wants to handle connection upgrades by another library, for instanace Simple-WebSocket-Server
|
2017-01-01 14:34:42 +01:00 |
|
eidheim
|
549bc646bb
|
Case insensitive header cleanup. Also cleanup and additions to parse_test
|
2016-12-31 10:34:03 +01:00 |
|
eidheim
|
ec5eda1521
|
Minor SocketServer<WSS> constructor cleanup
|
2016-12-30 10:44:10 +01:00 |
|
eidheim
|
8c8ef391f8
|
Fixed DEPRECATED macro in cases where it is already defined
|
2016-12-30 10:19:21 +01:00 |
|
eidheim
|
175d4dd869
|
Bugfix for last commit: config.timeout_content now correctly set in old constructor
|
2016-12-29 10:15:20 +01:00 |
|
eidheim
|
6c3a59d9ba
|
Cleanup of server-constructors. Previous constructors have been marked as deprecated.
|
2016-12-29 09:53:58 +01:00 |
|