eidheim
|
88a8b154e5
|
Simplified the default_resource example
|
2016-10-24 15:41:33 +02:00 |
|
eidheim
|
7fb40a1be9
|
Reverted e50f0b597f
|
2016-10-19 10:19:51 +02:00 |
|
eidheim
|
e50f0b597f
|
Minor cleanup of default_resource example
|
2016-10-19 09:41:58 +02:00 |
|
eidheim
|
d94f6d6d27
|
Slight optimisation: less copies of shared_ptr objects
|
2016-10-19 09:16:02 +02:00 |
|
eidheim
|
7120e8aff2
|
Minor typo fix
|
2016-09-07 20:56:23 +02:00 |
|
eidheim
|
4efd3bf83c
|
default_resource examples should now always output errors
|
2016-09-07 20:34:00 +02:00 |
|
eidheim
|
1a2fe59fa9
|
Updated post json example in https_examples.cpp as well
|
2016-09-07 10:01:23 +02:00 |
|
eidheim
|
233fd31982
|
Updated work example
|
2016-06-29 12:26:11 +02:00 |
|
eidheim
|
0b397bc697
|
Added heavy work example
|
2016-06-29 10:10:34 +02:00 |
|
eidheim
|
3c3359f512
|
Improvements to default_resource examples
|
2016-06-29 00:34:58 +02:00 |
|
eidheim
|
c7284acd8f
|
Fixes to the default_resource examples
|
2016-06-28 22:52:12 +02:00 |
|
eidheim
|
dc466e7d1d
|
Fixes #46: library is now fully asynchronous
|
2016-06-28 12:49:12 +02:00 |
|
eidheim
|
79dca558d2
|
Resolved most warning messages when compiled with -Wextra or -Weverything. Related to #44 and #45
|
2016-05-02 13:12:57 +02:00 |
|
Ole Christian Eidheim
|
131cd37328
|
Examples: fixed crash in default_resource
|
2016-04-18 15:21:26 +02:00 |
|
eidheim
|
c7f35ade7f
|
Cleanup of the default_resource examples
|
2016-03-16 11:29:04 +01:00 |
|
eidheim
|
38e2d09a42
|
Replaced unsafe std::vector and its reserve with std::array in the default_resource examples
|
2016-03-11 11:22:03 +01:00 |
|
eidheim
|
c072ae7382
|
Removed a test message I forgot to remove last commit
|
2016-03-10 16:30:20 +01:00 |
|
eidheim
|
359bad9862
|
Cleanup of the default_resource check that ensures that the request path is within the given web_root_path
|
2016-03-10 16:25:12 +01:00 |
|
eidheim
|
ef7f4692a4
|
Fixes #33
|
2016-01-06 12:45:21 +01:00 |
|
Ole Christian Eidheim
|
73961f419f
|
Update https_examples.cpp
|
2015-09-21 14:51:49 +02:00 |
|
eidheim
|
7951ded3ec
|
Slight cleanup and added convenience function to retrieve Request::content string.
|
2015-09-19 13:01:40 +02:00 |
|
eidheim
|
c58b7a788e
|
Response stream now subclass std::ostream. Also some cleanup of default_resource example.
|
2015-09-06 17:59:02 +02:00 |
|
eidheim
|
c6806e6fde
|
Minor change in examples.
|
2015-09-04 18:09:51 +02:00 |
|
eidheim
|
9e6b01eed1
|
Moved strand to ServerBase.
|
2015-09-04 18:01:16 +02:00 |
|
eidheim
|
c9f8a59a4d
|
Fixes #15, file opened are now opened as binary.
|
2015-09-03 08:37:35 +02:00 |
|
eidheim
|
fa1efed7f0
|
Now closes file if connection is interrupted in default_resource example. Also some minor cleanup.
|
2015-09-02 21:02:06 +02:00 |
|
eidheim
|
dc944ce2fb
|
Now using boost::filesystem in the default_resource examples.
|
2015-06-27 13:04:35 +02:00 |
|
Christophe Meessen
|
2177e330b7
|
Changed Request::remote_endpoint_address to std::string. Modified parse_request too keep case of header parameters.
|
2015-06-27 11:30:20 +02:00 |
|
eidheim
|
5f34b5db5e
|
Added Request::remote_endpoint_address and Request::remote_endpoint_port that are read when Request is created.
|
2015-06-27 10:43:17 +02:00 |
|
Christophe Meessen
|
247639b1e0
|
/info now displays remote host and port
|
2015-06-27 10:35:50 +02:00 |
|
eidheim
|
d59a789881
|
default_resource: added direct write to response stream.
|
2015-02-23 10:03:18 +01:00 |
|
eidheim
|
6c85e3b739
|
Minor fix
|
2015-02-23 09:49:32 +01:00 |
|
eidheim
|
0acc7455f8
|
Faster default_resource for files smaller than buffer_size.
|
2015-02-23 09:46:29 +01:00 |
|
eidheim
|
525eb2983b
|
Slightly faster resource lookup.
|
2015-02-22 15:26:30 +01:00 |
|
eidheim
|
7aae65b1b5
|
All resources now again uses regex for path, since requests/second were no longer much affected by this.
|
2015-02-22 12:06:30 +01:00 |
|
eidheim
|
a6154c7c5b
|
Added custom response stream and possibility to flush response to clients synchronously and asynchronously. Various speed ups, including reduced use of regex and preprocessing of regex objects. boost::asio::ip::tcp::no_delay is now turned on for both Client and Server. Note: Not backward compatible with earlier versions.
|
2015-02-20 11:14:39 +01:00 |
|
eidheim
|
07d43c7311
|
Made read_json thread-safe.
|
2015-01-10 09:56:35 +01:00 |
|
Ole Christian Eidheim
|
b2532affaf
|
fixed comment
|
2014-08-30 09:14:41 +02:00 |
|
eidheim
|
3367b86f07
|
Changed ..-replacement in examples
|
2014-08-29 19:02:34 +02:00 |
|
eidheim
|
313bc233d0
|
renamed example files
|
2014-08-11 10:04:36 +02:00 |
|