Commit Graph

824 Commits

Author SHA1 Message Date
antao 250781ac08 Add configuration options that limit the number of keep-alive requests 2019-03-12 18:22:13 +08:00
An Tao bba1756ecb
Merge pull request #73 from an-tao/dev
Modify some functions
2019-03-12 14:21:30 +08:00
antao aa539f85cd Modify some functions 2019-03-12 13:52:10 +08:00
An Tao d4710d3da7
Merge pull request #72 from an-tao/dev
Modify the drogon_ctl command
2019-03-09 11:01:39 +08:00
antao d63423545b Modify the drogon_ctl command 2019-03-09 10:31:58 +08:00
An Tao 8575951052
Merge pull request #71 from an-tao/dev
Modify the PgConnection class
2019-03-08 17:06:08 +08:00
antao 4dff5d2061 Change version to 0.9.30 2019-03-08 16:41:44 +08:00
antao c7011b85f4 Modify the PgConnection class 2019-03-08 16:19:13 +08:00
An Tao 4661ffb854
Update README.md 2019-03-07 21:12:54 +08:00
An Tao 809c48d86a
Merge pull request #70 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2019-03-07 21:12:18 +08:00
The Gitter Badger 0225addd61 Add Gitter badge 2019-03-07 06:57:58 +00:00
An Tao 32275dfa58
Merge pull request #69 from an-tao/dev
Modify some database classes
2019-03-07 13:01:28 +08:00
antao 801cb8aa35 Modify some database classes 2019-03-07 11:56:20 +08:00
An Tao 37d96bb6fd
Update README.md 2019-03-06 16:27:11 +08:00
An Tao 018478f44d
Merge pull request #68 from an-tao/dev
Optimize the 'setMethod' function in the HttpRequestImpl class
2019-03-06 16:24:15 +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
antao 1e1bcbf781 Remove unnecessary comparisons from regular expression matching and change version to 0.9.28 2019-03-05 11:19:10 +08:00
An Tao 4b4e8c56d2
Merge pull request #67 from an-tao/dev
* Modify the httpserver class to support processing multiple requests at once
* Delay parsing parameters until needed
2019-03-05 11:11:32 +08:00
antao 7232536aee Delay parsing parameters untils needed 2019-03-05 11:08:14 +08:00
an-tao bbd840bd3b Modify the httpserver class to support processing multiple requests at once 2019-03-04 23:17:29 +08:00
An Tao 253e66b587
Update README.md 2019-03-03 10:51:44 +08:00
An Tao cf29b08050
Merge pull request #66 from an-tao/dev
Do some optimization
2019-03-02 12:45:17 +08:00
antao 56ae5f459f Do some optimization 2019-03-02 12:25:08 +08:00
An Tao e5cce2e2c0
Merge pull request #65 from an-tao/dev
Change version to 0.9.27
2019-03-02 10:49:13 +08:00
antao f9243196f5 Change version to 0.9.27 2019-03-02 10:41:42 +08:00
An Tao d7e8044399
Merge pull request #64 from an-tao/dev
Add an interface to set the 'Server' header field, the user can use the app().setServerHeaderField() method or configuration file to change its default value.
2019-03-02 09:55:30 +08:00
antao e0147fac8b Add an interface to set the 'Server' header field 2019-03-02 09:27:45 +08:00
an-tao 0f51ac56c0 Fix a new bug in last commit 2019-03-01 18:30:51 +08:00
antao c06affed2a Update the submodule trantor 2019-03-01 18:12:20 +08:00
antao 6d16877e7b Add the getParameter() method into the HttpRequest class 2019-02-27 14:29:50 +08:00
An Tao 89cac562cf
Merge pull request #62 from an-tao/dev
Add htmlTranslate() method
2019-02-27 11:13:12 +08:00
antao 769a9a83dd Change version to 0.9.26 2019-02-27 10:36:37 +08:00
antao 49c03ee707 Add htmlTranslate() method 2019-02-27 10:36:03 +08:00
An Tao 082f895e29
Merge pull request #61 from an-tao/dev
Add an asynchronous interface for transaction creation
2019-02-26 15:40:04 +08:00
antao 620d875646 Add an asynchronous interface for transaction creation 2019-02-26 15:15:23 +08:00
antao 1ca5e3cde6 Use multiple database connections in the DbClientLockFree class 2019-02-26 09:50:51 +08:00
An Tao 037b9e7eff
Merge pull request #60 from an-tao/dev
Use the PQSendQuery() function instead of the PQsendQueryParams() function when the number of parameters is 0.
2019-02-25 21:00:52 +08:00
antao 769d645682 Modify the PgConnection class 2019-02-25 17:36:47 +08:00
antao 429490bd78 Modify DbClientImpl 2019-02-24 09:55:26 +08:00
An Tao 1b9e91361c
Merge pull request #59 from an-tao/dev
Improve database client performance and fix some bugs
2019-02-23 01:28:35 +08:00
antao 00b83735f1 Change version to 0.9.25 2019-02-23 01:07:05 +08:00
antao bb686d41d8 Use experimental::basic_string_view on gcc5 2019-02-23 01:02:14 +08:00
antao 4d46ebed9b Add some comments 2019-02-22 18:00:25 +08:00
antao 70e7089e7d Process the HEAD method request 2019-02-22 14:03:34 +08:00
antao 90e63c1a0f Modify the TransactionImpl class 2019-02-21 20:36:18 +08:00
antao 52f1888a14 Use persisted idle-callback in db connections 2019-02-21 20:00:22 +08:00
antao 15ab5e1558 Use nullptr to clear std::function objects 2019-02-21 15:46:54 +08:00
antao aab31ba64e Modify the HttpServer class 2019-02-21 14:02:05 +08:00
antao 44416f1456 Optimize db client classes 2019-02-21 13:21:07 +08:00