Commit Graph

450 Commits

Author SHA1 Message Date
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
66c6441c96 Return index.html to the client requesting '/' 2019-05-07 23:19:26 +08:00
antao
c48f2ca118 Disable cookies on 404 pages 2019-05-07 22:08:05 +08:00
antao
a85c64ac69 Add two configuration options: the client_max_body_size and the client_max_websocket_message_size 2019-05-07 14:04:37 +08:00
antao
0a27394cca Change version to 0.9.33 2019-05-05 15:43:17 +08:00
antao
2efa183b93 Implement gzip_static 2019-05-03 14:44:20 +08:00
antao
e48692939c Modify some interfaces 2019-04-29 14:47:23 +08:00
antao
78ff8a1837 Add the content() method into the HttpRequest class 2019-04-28 18:14:39 +08:00
an-tao
87c51d1b53 Check whether the port is in use 2019-04-27 14:45:06 +08:00
antao
0b96089a0a Update the submodule trantor 2019-04-27 12:17:46 +08:00
antao
0e14406b31 Modify shared library loading 2019-04-26 13:43:59 +08:00
antao
4116888880 Handle demangle error 2019-04-26 11:02:20 +08:00
antao
8d1617d1a7 Update the submodule trantor 2019-04-24 18:04:32 +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
863084f26a Add a diagram for AOP join points 2019-04-22 16:11:28 +08:00
an-tao
f6411812d5 Modify AOP 2019-04-18 23:18:13 +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
1e6a532ed3 Add the setCustom404Page() method 2019-04-09 11:03:16 +08:00
antao
e87c9a75f6 Modify the implementation of WebSocket 2019-04-08 16:37:24 +08:00
antao
6af398ff5a Add FastDbClient instances into the main event loop 2019-04-07 13:49:35 +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
66c518949d Make WebSocket suitable for Firefox browser 2019-04-05 13:33:02 +08:00
antao
d2bb1c10a7 Fix a websocket issue in Linux 2019-04-05 11:36:04 +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
65c101bee0 Add the getLoop() method to the HttpAppFramework class 2019-03-26 10:45:39 +08:00
antao
d12b49cab0 Remove the loop() interface 2019-03-25 20:32:35 +08:00
antao
66456eae1a 1. Add the getCustomCOnfig() method.
2. Add some comments.
2019-03-25 17:44:22 +08:00
antao
894b634b22 Adjust the execution order inside the run() method
Modify the configuration of fast database clients
Modify the ConfigLoader class
2019-03-23 11:26:21 +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
afdb7d26da Fix a compilation warning 2019-03-17 21:09:05 +08:00
antao
db266d9aad Modify HttpRequestParser to handle invalid requests 2019-03-15 16:55:36 +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
antao
aa539f85cd Modify some functions 2019-03-12 13:52:10 +08:00
antao
801cb8aa35 Modify some database classes 2019-03-07 11:56:20 +08:00
antao
b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao
2e24d8c7f5 Optimize the 'setMethod' function in the HttpRequestImpl class 2019-03-06 12:51:29 +08:00