1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 19:30:55 +00:00
Commit Graph

3644 Commits

Author SHA1 Message Date
michuan
9bd3a27e80 fix #3776 2020-08-25 23:36:15 +08:00
Ming Deng
310161f9d4
Merge pull request #4126 from flycash/fix/secureFlagV1
XSRF add secure and http only flag
2020-08-03 21:24:23 +08:00
Ming Deng
a0d1c42dac XSRF add secure and http only flag 2020-08-03 21:04:33 +08:00
Ming Deng
87b40ee9e7
Merge pull request #4116 from livelyRyan/patch-2
添加 BConfig.Listen.ClientAuth 字段及处理逻辑
2020-07-30 16:07:00 +08:00
Mr. Myy
7831638f37
移除多余的条件判断 2020-07-30 14:48:46 +08:00
Mr. Myy
5203804165
调整默认配置中的 ClientAuth 值,使之与原来的行为保持一致 2020-07-30 14:46:17 +08:00
Mr. Myy
0815e77f9a
修复笔误产生的拼写错误 2020-07-30 11:20:22 +08:00
Mr. Myy
c46ba86215
修复笔误产生的拼写错误 2020-07-30 11:18:14 +08:00
Mr. Myy
9d23e5a3fb
简化代码写法 2020-07-30 11:03:32 +08:00
Mr. Myy
513a4afff1
对 Listen 结构体增加 ClientAuth 字段
对 Listen 结构体增加 ClientAuth 字段,赋予默认配置对象该字段值为 tls.VerifyClientCertIfGiven,与原代码逻辑的默认值保持一致
2020-07-30 10:59:32 +08:00
Mr. Myy
15e11931fc
添加对 BConfig.Listen.ClientAuth 字段的逻辑处理。当指定了该配置时,使用配置的值来作为验证客户端的方式。如果没指定,使用默认值 tls.RequireAndVerifyClientCert 2020-07-30 10:53:30 +08:00
Ming Deng
7d561607d8
Merge pull request #4111 from liuhaogui/develop
添加配置文件路径环境变量
2020-07-30 09:14:12 +08:00
刘豪贵
15f04b8da4 add env BEEGO_CONFIG_PATH 2020-07-29 21:57:16 +08:00
Ming Deng
7a48fbb698
Merge pull request #4066 from playHing/self-dev
Fix concurrent issue of context/input Query method
2020-07-16 13:52:11 +08:00
playHing
3e2c795410 Rlock for form query 2020-07-15 20:44:59 +08:00
playHing
55e6298f29 Fix concurrent form parsing and getting 2020-07-15 20:44:59 +08:00
playHing
b50fb44950 Add bench test on context input query 2020-07-15 20:44:59 +08:00
Ming Deng
1c0714405a
Merge pull request #4068 from jianzhiyao/fix_3898
fix `index out of range` when sid len = 1
2020-07-15 00:03:59 +08:00
jianzhiyao
678b90385b add log 2020-07-14 09:57:13 +08:00
jianzhiyao
5940ae33c2 fix index out of range when sid len = 1
add unit test for sess_file.go
2020-07-13 19:14:53 +08:00
Ming Deng
3db31385cf
Merge pull request #4065 from Acmefocus/develop
update README.md
2020-07-11 23:16:36 +08:00
Acmefocus
2b9aaa5b0d update README.md
Signed-off-by: Acmefocus <107723772@qq.com>
2020-07-10 09:58:06 +08:00
Acmefocus
dced745d55 Merge branch 'develop' of https://github.com/Acmefocus/beego into develop 2020-07-09 18:15:25 +08:00
Acmefocus
25ba78ea72 update README.md
Signed-off-by: Acmefocus <107723772@qq.com>
2020-07-09 18:14:31 +08:00
Acmefocus
863b5bd0f4 Merge branch 'develop' of https://github.com/Acmefocus/beego into develop
Signed-off-by: Acmefocus <107723772@qq.com>
2020-07-09 17:59:07 +08:00
Acmefocus
ba3153621a Merge branch 'develop' of https://github.com/Acmefocus/beego into develop 2020-07-09 17:47:46 +08:00
Acmefocus
40cdc877b6 Update README.md
Signed-off-by: Acmefocus <107723772@qq.com>
2020-07-09 17:38:08 +08:00
Acmefocus
76debb1899
Update README.md 2020-07-09 17:18:01 +08:00
Ming Deng
35dcc3df7c
Merge pull request #4058 from a631807682/fix/issues/4054
Fix response payload too large
2020-07-09 16:41:11 +08:00
Chenrui
c3f14a0ad6
refactor: log error when payload too large 2020-07-09 09:45:40 +08:00
Ming Deng
8ee167bc7b
Merge pull request #4051 from gmelodie/sleep-on-reconnect-3972
Add sleep on reconnect
2020-07-09 09:41:04 +08:00
Cathal
2eccb23461 Add sleep on reconnect functionality 2020-07-08 17:30:34 +01:00
Ming Deng
28d3f624a3
Merge pull request #4055 from tayoogunbiyi/develop
Allow Healthcheck endpoint return JSON for Kubernetes
2020-07-08 23:51:03 +08:00
Ming Deng
926b80d1d8
Merge pull request #4061 from flycash/race-condition
Fix 4059
2020-07-08 23:49:54 +08:00
Ming Deng
c08b27111c Fix 4059 2020-07-08 23:32:18 +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
Eyitayo Ogunbiyi
d7b0d55357 added extra check for same response lengths 2020-07-07 17:23:52 +01:00
Eyitayo Ogunbiyi
728bf34006 refacted cache health check from toolbox 2020-07-07 16:46:59 +01:00
Eyitayo Ogunbiyi
e0f8c6832d added test for buildingHealthCheckResponse 2020-07-07 16:28:16 +01:00
Eyitayo Ogunbiyi
469dc7bea9 refactored the building of healthcheck response map 2020-07-07 16:09:22 +01:00
Eyitayo Ogunbiyi
ca0c64b69e refactored tests for health check endpoint 2020-07-07 15:21:38 +01:00
Eyitayo Ogunbiyi
5a4a082af0 renamed functions for clarity 2020-07-07 14:54:21 +01:00
Ming Deng
9dc660c1da
Merge pull request #4056 from gmelodie/reconn-bug-3971
Fix reconnection bug in logs/conn.go
2020-07-07 20:25:44 +08:00
Gabriel Cruz
d8724cb122
Add error returning to writeln 2020-07-06 21:38:47 +02:00
Gabriel Cruz
fc56c562db
Fix logger reconnection 2020-07-06 21:38:47 +02:00
Eyitayo Ogunbiyi
8d1a9bc92e added tests for health check endpoints 2020-07-06 19:34:48 +01:00
Eyitayo Ogunbiyi
db547a7c84 added test for execJson 2020-07-06 16:04:29 +01:00
Eyitayo Ogunbiyi
7c575585e9 added conditional json flag when trying to view healthchecks 2020-07-06 15:27:12 +01:00
Ming Deng
289f86247e
Merge pull request #4053 from flycash/ftr/test-docker
Add docker-compose to support running unit test locally
2020-07-05 22:08:20 +08:00