eidheim
|
985809791c
|
Resolved unambiguous Server::Response::write() functions
|
2017-06-25 08:46:50 +02:00 |
|
eidheim
|
c9c6ee3d98
|
Removed unnecessary includes
|
2017-06-24 10:46:42 +02:00 |
|
eidheim
|
850dcd6601
|
Cleanup of examples
|
2017-06-23 10:28:29 +02:00 |
|
eidheim
|
8ec36d19fd
|
Changed some parameters from std::iostream to std::istream in Client and Server
|
2017-06-23 07:00:16 +02:00 |
|
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
|
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
|
fae8e07faa
|
Removed dependency of boost::string_ref if USE_STANDALONE_ASIO is defined
|
2017-06-18 08:11:27 +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 |
|
eidheim
|
111aeeb7fc
|
Renamed case insensitive function and classes, and added test for case_insensitive_equal
|
2017-06-10 11:17:49 +02:00 |
|
eidheim
|
ec63c4345e
|
Cleanup of #127: using standalone asio.
|
2017-06-07 19:27:34 +02:00 |
|
Sébastien Huss
|
d50bcabf8e
|
added Support for NO_BOOST
|
2017-06-05 07:39:58 +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 |
|
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 |
|
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 |
|
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
|
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 |
|
eidheim
|
db95a64354
|
Minor cleanup
|
2016-12-19 09:08:35 +01:00 |
|
eidheim
|
d19244e01f
|
Minor cleanup
|
2016-12-19 09:05:55 +01:00 |
|
eidheim
|
eef8a10849
|
Added error reporting through on_error std::function
|
2016-12-19 08:44:41 +01:00 |
|
eidheim
|
7a97f8218d
|
Added client verification when a verify file is passed to Server<HTTPS>. Also sets session_id_context for session reuse. See #89
|
2016-12-18 17:22:04 +01:00 |
|
Tadeu
|
dc74f7739e
|
compile clean with gcc 4.6.3
|
2016-12-12 22:05:17 +00:00 |
|
eidheim
|
14d848be3e
|
string::substr comparisons replaced by string::compare
|
2016-12-04 14:25:11 +01:00 |
|
eidheim
|
0d8052dcb9
|
Simplified Server::parse_request
|
2016-11-23 09:54:22 +01:00 |
|
eidheim
|
7d95360e62
|
Minor timeout source cleanups
|
2016-11-23 07:17:14 +01:00 |
|
eidheim
|
8a73cb381a
|
Fixes #86: can now set timeout on client requests
|
2016-11-23 07:01:48 +01:00 |
|
David Olszowka
|
743785b563
|
Fixed crash if server instance gets deleted after the call to io_service->stop() but before the acceptor gets notified of the stop.
|
2016-11-10 10:16:49 +01:00 |
|
eidheim
|
8da3ad4dde
|
Fixes #82: wrong reset method called in ::start
|
2016-11-07 15:24:04 +01:00 |
|
eidheim
|
8e0d3142bf
|
Added fallback to boost::regex if gcc version<4.9. Fixes #77
|
2016-10-25 08:33:02 +02:00 |
|
eidheim
|
78d68b063b
|
Now uses std::regex instead of boost::regex
|
2016-10-24 14:54:09 +02:00 |
|
eidheim
|
3a4b7143cc
|
Can now use external, or reuse, boost::asio::io_service.
|
2016-10-19 09:53:32 +02:00 |
|
eidheim
|
d94f6d6d27
|
Slight optimisation: less copies of shared_ptr objects
|
2016-10-19 09:16:02 +02:00 |
|
eidheim
|
87508d1ae2
|
Minor cleanup of exception_handler code
|
2016-09-07 09:01:01 +02:00 |
|
Jørgen Lien Sellæg
|
eafca19cb3
|
feature: move exception handling of read_remote_endpoint_data to calling method
|
2016-09-03 18:15:57 +02:00 |
|
Jørgen Lien Sellæg
|
d490c3ff4e
|
feature: add exception handler for http server
|
2016-09-01 17:17:31 +02:00 |
|