Chenrui
c3f14a0ad6
refactor: log error when payload too large
2020-07-09 09:45:40 +08:00
Chenrui
03f78b2e4a
fix: add error code support
2020-07-08 18:09:01 +08:00
Chenrui
946a42c021
fix: response http 413 when body size larger then MaxMemory.
2020-07-08 17:14:52 +08:00
Ming Deng
bac2b31afe
Merge pull request #3975 from nicowaisman/patch-2
...
Change permission mask
2020-06-13 23:40:13 +08:00
Ming Deng
4ad699b7b8
Merge pull request #3981 from zwei0526/develop
...
Update parser.go
2020-06-10 16:38:15 +08:00
Ming Deng
14fc935cb6
Merge pull request #4005 from keminar/develop
...
fix graceful bug
2020-06-10 16:34:32 +08:00
liminggui
8e29300f85
fix graceful bug
2020-06-09 12:20:08 +08:00
askuy
3e30f37172
Merge pull request #4006 from flycash/develop
...
fix CI and UT
2020-06-06 21:16:08 +08:00
flycash
ce4ce74c8d
Fix validation test
2020-06-06 20:50:48 +08:00
flycash
ce0e7525ad
Fix ES client
2020-06-06 20:14:01 +08:00
flycash
d0b7244d57
Fix ledis
2020-06-06 19:21:57 +08:00
Ming Deng
5100a8c396
fix CI and UT
2020-06-06 18:16:36 +08:00
Ming Deng
b8efb3ef45
Merge pull request #3984 from jianzhiyao/develop
...
fix bug:static can not real hit cache & memory leak
2020-06-06 13:10:58 +08:00
Ming Deng
ae15b54f83
Merge pull request #3992 from maxshine/fix-3991
...
[Fix-Issue-3991] Fix Read with SQLite not supporting SELECT FOR UPDAT…
2020-06-06 13:10:08 +08:00
Ming Deng
0dab959c95
Merge pull request #4004 from gokangaroo/develop
...
avoid `panic: send on closed channel` after closing logger.
2020-06-06 13:09:36 +08:00
Ming Deng
ee615dd08f
Merge pull request #3985 from leapsea/develop
...
修复多线程下数据库连接异常问题
2020-06-06 12:40:50 +08:00
huija
b879a07b3a
avoid panic: send on closed channel
after closing logger.
2020-06-04 14:52:54 +08:00
jianzhiyao
c265f6e49c
add comment
2020-06-02 20:02:58 +08:00
jianzhiyao
690e91e1b6
static file module:make cache file size and cache file numbers configurable
2020-06-02 18:22:47 +08:00
jianzhiyao
50f71a8a21
fix bug of getting int error
2020-06-02 18:10:17 +08:00
Yang, Gao
677d010d86
[Fix-Issue-3991] Add warn for SQLite Read is invoked isForUpdate=true
2020-06-01 23:12:12 +08:00
Ming Deng
db2a1134ce
Merge pull request #3993 from skanger/develop
...
fix httplib PostFile method
2020-06-01 22:05:01 +08:00
Ming Deng
11740cede6
Merge pull request #3996 from bharrat/3995-fix-middleware-not-working-with-graceful
...
Fixes #3995 Use handlers with middleware when starting Graceful server
2020-05-31 22:23:05 +08:00
Bharat Patel
075db4773b
Fixes #3995 Use handlers with middleware when starting Graceful server
2020-05-18 10:00:14 -07:00
skanger
eea20f6ceb
fix httplib PostFile method
2020-05-16 11:00:15 +08:00
Yang, Gao
8055357576
[Fix-Issue-3991] Fix Read with SQLite not supporting SELECT FOR UPDATE syntax
2020-05-15 17:36:01 +08:00
jianzhiyao
9fda81b7f3
modify static cache total size about 100m
2020-05-09 18:24:14 +08:00
jianzhiyao
4b12e053b7
fix
2020-05-09 17:58:10 +08:00
jianzhiyao
0307c8b110
set static file cahce limit:file size & file count
2020-05-09 17:57:00 +08:00
leapsea
867f83de34
修复数据库连接异常问题
2020-05-09 16:31:30 +08:00
jianzhiyao
af19822293
not modify go.mod
2020-05-09 14:06:51 +08:00
jianzhiyao
2449aad105
add cache-hit test example
2020-05-09 10:44:37 +08:00
jianzhiyao
d31975a752
complete test example
2020-05-08 17:35:02 +08:00
jianzhiyao
b28d5e2716
fix bug:static canot real hit cache
...
opt:reduce risk of memory leak with lru cache
2020-05-08 17:10:19 +08:00
zwei0526
ab33d683ea
Update parser.go
...
修复genRouterCode方法解析 router 注释(// @router) 单双引号引起的bug
2020-04-26 19:26:10 +08:00
Nico Waisman
f99cbe0fa4
Change permission mask
2020-04-22 08:42:54 -07:00
astaxie
8f3d1c5f42
Merge pull request #3922 from BurtonQin/bug-1-2-3-inconsistent-field-protection
...
cache, context, session: add lock to fix inconsistent field protection
2020-02-22 15:09:25 +08:00
astaxie
2410b364af
Merge pull request #3923 from timchenxiaoyu/develop
...
fix exist typo
2020-02-22 11:25:13 +08:00
陈晓宇
713503e43d
fix exist typo
2020-02-14 16:47:47 +08:00
BurtonQin
cfdd1cd5be
cache, context, session: add lock to fix inconsistent field protection
2020-02-10 21:49:46 +08:00
astaxie
de5650b723
version 1.12.1
2020-02-07 16:23:57 +08:00
astaxie
e5e4a3bea7
Merge pull request #3868 from holtyuzhuyanbo/fix_session_destory
...
fix: session destory
2020-02-07 11:49:54 +08:00
astaxie
90d0b43f34
Merge pull request #3888 from gavin2014/develop
...
[Fix] Fix create table with SQLite not supporting COMMENT syntax
2020-02-07 11:46:52 +08:00
astaxie
1b7f5ba2c4
Merge pull request #3900 from aixiaoxiang/develop
...
httplib:fixes network request failed to create an invalid file and automatically created file directory
2020-02-07 11:10:56 +08:00
astaxie
96f01079cb
Merge pull request #3905 from ywk253100/200110_context
...
Send the request from context rather than the original one to handlers
2020-02-07 11:05:01 +08:00
astaxie
9d4b5b313f
Merge pull request #3911 from liuzhang/develop
...
验证调整,增加label, xx不能为空
2020-02-07 11:04:11 +08:00
astaxie
b882009979
Merge pull request #3919 from wy65701436/develop-sha256
...
update hash algorithm for signing the cookie for xsrf token
2020-02-07 11:01:10 +08:00
wang yan
a768bf8f00
update hash algorithm for signing the cookie for xsrf token
...
Due to the chosen-prefix collision in SHA-1(details at https://sha-mbles.github.io/ ), SHA-1 hash functions should to be deprecated and SHA-2/SHA-3 should be used instead.
Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-06 17:31:24 +08:00
Liu Zhang
034599ca1d
验证调整,增加label, xx不能为空
2020-01-17 16:47:19 +08:00
Wenkai Yin
5a02c556b2
Send the request from context rather than the original one to handlers
...
The filters may do some changes to the request, such as putting values in the request's context
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-10 17:58:00 +08:00