eidheim
|
3ee9f8dc52
|
Added all header files to cmake install target. Also added -O3 to one test on travis
|
2017-06-26 11:50:21 +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
|
48d74a974a
|
Server::Response::write convenience functions now always add Content-Length header field if it does not exists and if chunked transfer encoding is not used
|
2017-06-25 09:21:00 +02:00 |
|
eidheim
|
985809791c
|
Resolved unambiguous Server::Response::write() functions
|
2017-06-25 08:46:50 +02:00 |
|
eidheim
|
362c1a2591
|
Now closes unwanted client connections when a request is finished. Also added additional tests
|
2017-06-25 07:20:03 +02:00 |
|
eidheim
|
20d3c44366
|
*Fixes #135: memory leak that was introduces Jun 17, 2017 in e1aebba344
|
2017-06-24 13:19:53 +02:00 |
|
eidheim
|
c9c6ee3d98
|
Removed unnecessary includes
|
2017-06-24 10:46:42 +02:00 |
|
eidheim
|
0a72f6f280
|
Further cleanup of examples
|
2017-06-23 16:28:25 +02:00 |
|
eidheim
|
850dcd6601
|
Cleanup of examples
|
2017-06-23 10:28:29 +02:00 |
|
eidheim
|
dcbb45175a
|
Added convenience functions to examples
|
2017-06-23 08:05:48 +02:00 |
|
eidheim
|
6cf3be082d
|
Minor change to include guard in crypto.hpp
|
2017-06-23 07:14:22 +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
|
361ac21518
|
Cleanup of synchronous Client::request functions
|
2017-06-22 22:32:51 +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
|
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 |
|