Commit Graph

193 Commits

Author SHA1 Message Date
An Tao
7186a74590
Add a WebSocket test (#227) 2019-08-26 17:53:02 +08:00
An Tao
9f330f310d
Add a synchronous join point for AOP (#226) 2019-08-26 09:00:20 +08:00
An Tao
c3cb70f415
Optimize performance (#222) 2019-08-24 13:12:04 +08:00
An Tao
a0f5570f8b
Modify HttpClient and WebSocketClient (#210) 2019-08-13 17:32:52 +08:00
An Tao
c705990fe5
Add the DrogonConfig.cmake (#207)
Add DrogonConfig.cmake so that users can use drogon with the `find_package(Drogon)` command.
2019-08-08 15:17:09 +08:00
An Tao
ba7d788184
Add options for 'Server' header and 'Date' header (#202) 2019-07-31 19:44:32 +08:00
antao
40087fba9c Remove config.h
Modify the CMakeLists.txt

Remove the USE_ORM macro

Update trantor

Remove some std::dynamic_pointer_cast calls
2019-07-29 14:53:41 +08:00
An Tao
986ef8dda7
Optimize pipelining (#197)
* Optimize pipelining

* Optimize the DbClientLockFree class
2019-07-25 16:30:42 +08:00
An Tao
33577b9666
Format some files for good code style (#196) 2019-07-16 20:00:20 +08:00
An Tao
9af87bb1c0
Add some managers to reduce the size of the HttpAppFrameworkImpl code (#194) 2019-07-12 16:47:21 +08:00
An Tao
6e8c718a52
Modify some comments in simple_example (#193) 2019-07-11 19:39:23 +08:00
antao
b155aa1b1a Add a README file for examples 2019-07-10 17:57:47 +08:00
antao
47c6bc20f4 Optimize the htmlTranslate method 2019-07-08 13:49:01 +08:00
antao
9f779f2636 Update CacheFile class to adapt linux 2019-06-06 16:51:12 +08:00
antao
335f852aab Add some necessary headers in preflight responses for CORS 2019-06-01 07:11:47 +08:00
antao
92e64a79ec Fix a bug that occurs when a path argument contains spaces 2019-05-31 09:43:23 +08:00
antao
fc7505122f Update the submodule trantor 2019-05-23 16:07:08 +08:00
antao
c17591ef49 Make some inline functions out-line 2019-05-23 10:47:15 +08:00
antao
a4c0e33782 Make the HttpClient class support cookies 2019-05-21 22:10:05 +08:00
antao
11b6d20a69 clang-format 2019-05-18 20:39:57 +08:00
antao
3e1886a84e Add the forward() method to the framework 2019-05-09 16:27:39 +08:00
antao
e696553b3d Change the callback type in Filters and AOP Advices to the r-reference type 2019-05-09 13:57:33 +08:00
antao
00049c0d23 Change the type of the callback in HTTP request handlers to r-reference type 2019-05-09 11:25:25 +08:00
antao
2efa183b93 Implement gzip_static 2019-05-03 14:44:20 +08:00
antao
fa9376b89a Change escapes from '{{}}' to '[[]]' in views 2019-04-25 14:36:42 +08:00
antao
189c537c29 Support host strings with IPv6 address in the HttpClient class 2019-04-24 16:48:03 +08:00
antao
32c14631fa Add the getHandlersInfo() method 2019-04-24 14:38:07 +08:00
antao
1bc07c5197 Add support for AOP 2019-04-18 18:37:31 +08:00
antao
e517f07685 Add some methods using std::chrono_literals 2019-04-14 14:02:37 +08:00
antao
d5e8bd0b73 Add the OPTIONS method for CORS 2019-04-12 21:45:43 +08:00
antao
e87c9a75f6 Modify the implementation of WebSocket 2019-04-08 16:37:24 +08:00
antao
3a587ab90b Modify the pipeling test 2019-04-07 12:15:02 +08:00
antao
b96eb04859 Add WebSocket client support 2019-04-07 00:46:22 +08:00
antao
40dc13f0bd Add ws_test.html for websocket testing 2019-04-05 09:54:26 +08:00
antao
62fad73bc9 Enhance HttpClient to support pipelining 2019-04-05 01:50:29 +08:00
an-tao
e128a27c58 Modifying URL encoding of HTTP requests 2019-04-03 00:17:30 +08:00
antao
d216a663aa Modify the HttpController template to be able to specify absolute paths in HttpController 2019-03-31 19:32:16 +08:00
antao
737c9bba8b Provides a way for users to create and initialize controllers and filters with non-default constructors. 2019-03-30 23:09:22 +08:00
antao
aad06fdc3a Add support for plugins 2019-03-29 15:34:14 +08:00
antao
8ae07ce195 Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR in CMakeLists.txt files 2019-03-27 19:32:09 +08:00
antao
1f8be1ce8c Add some Travis CI tests 2019-03-26 15:25:22 +08:00
an-tao
798861a1cc Use IPV4 in the webapp example 2019-03-25 23:28:22 +08:00
antao
66456eae1a 1. Add the getCustomCOnfig() method.
2. Add some comments.
2019-03-25 17:44:22 +08:00
antao
56eaca1998 Update README.md and the banner image 2019-03-24 23:17:12 +08:00
antao
db72840fc2 Move utility functions to the utils namespace 2019-03-21 17:47:45 +08:00
antao
fecec81975 1.Remove an unnecessary null pointer check
2.Fix a compilation error for older g++
    3.Update README.md
2019-03-20 11:46:27 +08:00
antao
7ae533671c Add matchedPathPattern() interface in the HttpRequest class
Change version to 0.9.31
2019-03-18 10:44:38 +08:00
antao
053c760d27 Rename the InnerIpFilter class 2019-03-14 11:25:12 +08:00
an-tao
0e447a1f9e Adapt ipv6 2019-03-13 23:44:53 +08:00
antao
250781ac08 Add configuration options that limit the number of keep-alive requests 2019-03-12 18:22:13 +08:00