Commit Graph

340 Commits

Author SHA1 Message Date
antao
856aedbf47 Support gzip on the client side 2019-01-21 13:37:53 +08:00
antao
c4591fc11d Remove an unused file 2019-01-20 12:11:39 +08:00
antao
ec7e8a1040 Forbid to download files from the parent folder 2019-01-19 22:57:07 +08:00
antao
38e8148b56 Add a test client for the simple example 2019-01-19 12:26:03 +08:00
antao
2094ce217a Optimize routing 2019-01-19 01:31:14 +08:00
antao
c4987f690b Optimize routing algorithm 2019-01-18 17:42:46 +08:00
antao
89c5e4e6e6 Minor edits 2019-01-18 10:30:39 +08:00
antao
ab6faf3376 Add some comments 2019-01-18 10:30:39 +08:00
antao
38966e09d4 Split the HttpAppFrameworkImpl class 2019-01-17 13:51:25 +08:00
an-tao
5c96c4e6a2 Modifying the routing algorithm of HTTP controllers 2019-01-17 00:12:58 +08:00
antao
f36ccf851d Modify the getObj() function template 2019-01-16 19:26:45 +08:00
antao
0b53021358 Modify the HttpBinder class template 2019-01-16 18:39:48 +08:00
antao
01de7f4f1e Remove expired filter classes 2019-01-16 10:03:11 +08:00
antao
0b4fd04228 Modify the genRandomString() function 2019-01-14 17:11:32 +08:00
an-tao
2d80158152 Modify the createDbClient method 2019-01-12 11:10:51 +08:00
antao
e8c7cf3c72 Modify the createDbClient() method 2019-01-10 13:24:03 +08:00
antao
5f108b510d Name threads 2019-01-09 16:23:34 +08:00
antao
ac90c80710 Use multiple event loops in the db client 2019-01-09 10:46:58 +08:00
antao
fe079a4f7e Fix a bug in the HttpServer class 2019-01-08 09:41:38 +08:00
an-tao
6a4f38bdaf Use any::reset() 2019-01-07 21:19:51 +08:00
an-tao
ee2517c52b Fix a bug of Null ptr 2019-01-07 18:50:56 +08:00
antao
5ea972e5b3 Modify the signature of the createDbClient() method 2019-01-07 16:26:58 +08:00
an-tao
8cfdd0424f Fix a compiler warning 2019-01-07 15:25:29 +08:00
antao
1ae7ec6058 Optimize the urlDecode() method 2019-01-07 14:43:06 +08:00
antao
6b854ffe6f Fix a bug on COW of the std::string class 2019-01-07 13:34:37 +08:00
an-tao
299ea8d408 Fix a compiler bug in CentOS 2019-01-06 12:26:34 +08:00
an-tao
fc8e92e131 Modify setPath() 2019-01-04 18:34:27 +08:00
antao
70b0828c17 Optimize the parseParameter() method 2019-01-04 17:30:37 +08:00
antao
c2cf4a7fe7 Format files 2019-01-03 22:15:59 +08:00
an-tao
8908c021a9 Fix compiler warnings in Linux 2019-01-03 22:07:35 +08:00
antao
b71f3c43d9 Optimize the getHeader method 2019-01-03 21:27:09 +08:00
antao
680fc28967 Rename some variables 2019-01-03 15:00:08 +08:00
antao
f7b853e96c Update the submodule trantor 2019-01-03 13:31:12 +08:00
antao
f35ff6347a Format some files 2019-01-02 18:49:37 +08:00
antao
159b5cebdd Adjustment critical section 2019-01-02 18:33:18 +08:00
antao
1afb027f2f Modify HttpAppFrameworkImpl 2019-01-02 17:46:16 +08:00
an-tao
87b6d571fd Fix a compiler warning 2019-01-02 17:07:34 +08:00
antao
5c9799c15a Modify http client for cookies 2019-01-02 16:13:36 +08:00
antao
784eb81014 Use unordered_map 2019-01-02 13:11:19 +08:00
an-tao
1943ad9e12 Fix a compiler warning 2018-12-31 20:06:44 +08:00
antao
38936bde81 Modify Date header strategy 2018-12-31 19:59:57 +08:00
antao
7c15196bac Small adjustment 2018-12-31 19:13:44 +08:00
an-tao
d7aaa3726f Fix a race condition 2018-12-31 18:46:04 +08:00
antao
dd313ab293 Remove a mutex 2018-12-31 12:57:31 +08:00
an-tao
9d8ace0b98 Remove unused variables 2018-12-30 23:45:21 +08:00
antao
bfe07bb79c Modify HttpResponseImpl.cc 2018-12-30 22:37:26 +08:00
antao
f58d73991f Improve transmission efficiency 2018-12-30 22:18:20 +08:00
an-tao
ed70959fe5 Modify the HttpResponseImpl class 2018-12-30 21:08:20 +08:00
antao
b0dd2d4b75 Add the mutex protection for http response 2018-12-30 20:56:52 +08:00
antao
bc52c121d5 Add sqlite3 support to the configuration file 2018-12-29 17:17:50 +08:00