Commit Graph

792 Commits

Author SHA1 Message Date
antao 4e704d398d Make pg connections automatically reconnect 2019-01-10 15:54:25 +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
An Tao 3eff3853d9
Merge pull request #23 from an-tao/pg
Optimize PostgreSQL client
2019-01-09 14:57:45 +08:00
an-tao 08300f93c2 Modify the constructor of the DbClientImpl class 2019-01-09 14:47:07 +08:00
antao e1b873ba01 Modify the DbClientImpl class 2019-01-09 13:12:07 +08:00
antao ac90c80710 Use multiple event loops in the db client 2019-01-09 10:46:58 +08:00
antao 937a2fd136 Optimize PostgreSQL client 2019-01-08 19:37:19 +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 468fcf13e0
Merge pull request #22 from an-tao/urlDecode
Optimize the urlDecode() method
2019-01-07 15:40:57 +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
antao 951e179e24 Change version to 0.9.12 2019-01-06 13:35:45 +08:00
an-tao 299ea8d408 Fix a compiler bug in CentOS 2019-01-06 12:26:34 +08:00
An Tao 2f123c3dc8
Merge pull request #21 from an-tao/parseParameter
Optimize the parseParameter() method
2019-01-04 18:58:58 +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 baa7ea6a0a Modify the db mapper 2019-01-04 16:19:21 +08:00
An Tao ed893d40df
Merge pull request #20 from an-tao/getHeader
Optimize the getHeader method
2019-01-03 22:26:42 +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 95a87ebde1 Update the submodule trantor 2019-01-03 15:34:18 +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
antao 5f0dd36bd6 Modify the get_version.sh script 2018-12-31 00:03:44 +08:00
An Tao e55f819e3d
Merge pull request #19 from an-tao/dev
Improve efficiency
2018-12-30 23:58:23 +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 d8c932218a Move callbacks into lambdas 2018-12-30 15:16:27 +08:00
antao 13c5fca57e Update the README and the version 2018-12-30 10:44:47 +08:00
antao 11059de103 Update the .travis.yml 2018-12-30 10:30:10 +08:00