Commit Graph

1125 Commits

Author SHA1 Message Date
An Tao
4f319dd9c9
Fix an issue of out-of-range (#334) 2020-01-21 00:49:53 +08:00
antao
191acd0bd3 Modify the StaticFileRouter 2020-01-12 11:39:53 +08:00
antao
fb2343ac74 Add location configuration for static resources (#331) 2020-01-12 11:05:38 +08:00
An Tao
62fc82cba1
Add support for regular expressions when routing (#329) 2020-01-09 17:03:30 +08:00
antao
668533fbbd Update drogon version to v1.0.0-beta13 2020-01-04 09:37:10 +08:00
An Tao
f07d9e03e1
Use shorter stmt names in postgresql connections(#326) 2020-01-04 09:36:14 +08:00
An Tao
cb95960e2d
Modify singleton logic of DrClassMap (#325) 2020-01-03 18:02:46 +08:00
antao
249a491d2f Modify the text template 2020-01-03 12:47:08 +08:00
An Tao
bc7ec6975a
Modify the SqlBinder class (#324) 2020-01-03 10:29:06 +08:00
An Tao
53e9dcca08
Optimize database connections (#323) 2020-01-02 17:09:10 +08:00
An Tao
1c99a8a94e
Use drogon::OStringStream instead of std::stringstream in text template (#322) 2020-01-01 16:15:11 +08:00
An Tao
feb0b73e78
Modify the benchmark example (#321) 2019-12-23 14:08:56 +08:00
An Tao
27c687a0af
Support HTTP1.0 clients (#320) 2019-12-22 13:15:56 +08:00
An Tao
4809cc9508
Modify the reverse proxy example (#319) 2019-12-16 00:34:40 +08:00
An Tao
cc04a013be
Use INSTALL_LIB_DIR instead of 'CMAKE_INSTALL_PREFIX/lib' in CMakeLists.txt (#318) 2019-12-12 12:49:18 +08:00
interfector18
832c6cb48d Make shared linking possible, use option instead of set for CMake (#315) 2019-12-11 18:39:10 +08:00
An Tao
fd6df92bbc
Fix an error in the batch mode of libpq. (#317) 2019-12-11 14:23:52 +08:00
An Tao
20c43b3c2d
Merge pull request #313 from an-tao/ossp_uuid 2019-12-10 07:01:25 +08:00
An Tao
a67ab1db52
Add some unit tests (#311) 2019-12-09 22:16:09 +08:00
antao
f1b5f2797c Update 2019-12-09 17:28:25 +08:00
antao
0a990f4331 Make a patch to support the ossp UUID Library 2019-12-09 17:22:38 +08:00
An Tao
ea43d8127d
Add a reverse proxy example (#309) 2019-12-08 08:31:56 +08:00
An Tao
6571e55631
Adding unit tests to Travis CI (#310) 2019-12-07 17:43:00 +08:00
An Tao
5bb54cd4cf
Fix a bug in compressing by zlib (#308) 2019-12-07 01:26:12 +08:00
antao
d85d8f7821 Update trantor 2019-12-05 15:02:23 +08:00
antao
f9d09d1554 Update drogon version to v1.0.0-beta12 2019-11-30 12:17:53 +08:00
An Tao
5c1c73d9b6
Add the SecureSSLRedirector plugin (#306) 2019-11-30 08:35:40 +08:00
An Tao
2784a91dcb
Handle gzip errors safely (#305) 2019-11-29 00:28:12 +08:00
An Tao
93c0d7e9da
Reset the flag used to parse json to false before recycling HttpRequest objects (#304) 2019-11-28 23:33:50 +08:00
An Tao
51aff1f5eb
Update trantor (#302) 2019-11-28 17:46:51 +08:00
Philip Woods
0fa61cded3 path is now explicitly set to '/' when setting JSESSIONID (#301) 2019-11-28 09:15:27 +08:00
An Tao
40ffb2d2af
Modify some code styles (#298) 2019-11-21 11:27:47 +08:00
An Tao
b34b3a6068
Fix a bug in dg_ctl for creating models of sqlite3 (#297) 2019-11-20 13:39:56 +08:00
antao
c89835cca2 Create FUNDING.yml 2019-11-15 12:35:36 +08:00
An Tao
d46a041cba
Modify the Cookie class (#296) 2019-11-15 10:26:21 +08:00
An Tao
a8ae91bee0
Make dg_ctl a symlink (#294) 2019-11-12 11:34:01 +08:00
antao
139d2db02b Update drogon version to v1.0.0-beta11 2019-11-06 13:38:23 +08:00
antao
944d1e786d Delete useless log output 2019-11-05 14:28:17 +08:00
antao
0133e47e8f Update drogon version to v1.0.0-beta10 2019-11-04 10:19:20 +08:00
Marwan Rabbâa
fc8abadaeb fix(compilation on alpine): Replace non standard u_short alias (#292) 2019-11-03 23:32:37 +08:00
An Tao
a71e37d86e
Modify some type names to meet the Google Style (#291) 2019-11-01 19:19:25 +08:00
An Tao
dbf20200fc
Add the headers configuration option for static files (#290) 2019-10-31 15:47:12 +08:00
antao
ac377bd650 Update drogon version to v1.0.0-beta9 2019-10-29 14:02:00 +08:00
An Tao
876e21f492
Implement relationships in ORM (#288) 2019-10-26 23:44:31 +08:00
An Tao
4868aa964d
Fix a busy loop bug when connections to mysql server are timeout (#286) 2019-10-21 19:10:59 +08:00
An Tao
e7b6ba27bb
Make user can use a custom type parameter instead of the first parameter in handlers of HttpControllers (#284) 2019-10-19 14:27:34 +08:00
An Tao
3a3a5636e8
Add type conversion methods to the HttpRequest and HttpResponse classes (#283) 2019-10-18 22:26:20 +08:00
An Tao
228bac1cfb
Make user can use any string as a placeholder's name in routing patterns (#282) 2019-10-17 17:12:52 +08:00
An Tao
d830c4f057
Fix some race conditions (#280)
* Fix a race condition of static files

* Fix a race condition of 404 pages
2019-10-17 09:23:14 +08:00
Daniel Mensinger
ddc41f7907 Add option to disable setting the 404 status code (#277) 2019-10-11 21:54:01 +08:00