Commit Graph

162 Commits

Author SHA1 Message Date
astaxie 1a66ad56c6
Merge pull request #3317 from HSoshiant/master
Lock
2018-11-14 19:24:23 +08:00
astaxie 31f2adb79d
Update session.go 2018-11-14 19:24:10 +08:00
astaxie f514ae309b
Update session.go 2018-11-14 19:23:10 +08:00
astaxie 9fdc1eaf3a
Merge pull request #3352 from SongLiangChen/develop
add sessionid prefix
2018-11-08 23:29:05 +08:00
lock 9865779f14 security question, fix arbitrary file read 2018-11-07 11:31:27 +08:00
SongLiang c8da875f83
add sessionId prefix 2018-11-05 09:51:27 +08:00
SongLiang 501d8a97f6
add sessionId prefix 2018-11-05 09:50:19 +08:00
SongLiang d3ad810f16
add sessionId prefix 2018-10-29 13:35:31 +08:00
SongLiang abc8b78065
add sessionId prefix 2018-10-29 12:18:06 +08:00
SongLiangChen 187add9b84 add sessionid prefix 2018-10-10 11:02:45 +08:00
Hossein Karimy 1097ac3682 GetProvider 2018-08-28 15:12:28 -04:00
guoshaowei 6fec0a7831 add session redis IdleTimeout config 2018-07-12 10:48:50 +08:00
astaxie c3c0adbf55
Merge pull request #3175 from mo0feng/master
Create redis_cluster.go
2018-05-28 16:48:06 +08:00
jz 04c305f273
fix use it comments
fix  use it comments
2018-05-24 15:14:56 +08:00
jz 8c8cf46b55
Create redis_cluster.go
super redis cluster
2018-05-23 17:30:13 +08:00
godcong 886fefe738 change github.com/garyburd/redigo to newest branch github.com/gomodule/redigo 2018-03-26 16:59:01 +08:00
astaxie 0fbbc67c3d
Merge pull request #2961 from zhlicen/master
Add lock while releasing session
2017-12-06 14:44:25 +08:00
HANG ZHOU ed73bdcfab
Add lock while releasing session
Solve the problem of SessionRead failure while ReleaseSession is in progress
2017-12-05 16:18:56 +08:00
astaxie b169ea4b63 Merge pull request #2896 from tinycedar/master
misc: fix typos
2017-10-17 21:22:27 +08:00
Daniel Lin 72ec4df679 Merge branch 'master' into master 2017-10-17 04:30:59 -05:00
hzlinqien b91263a254 misc: fix typos 2017-10-17 17:27:03 +08:00
astaxie 520753415f Merge pull request #2846 from hikenote/master
return template build error rather than log error
2017-09-09 06:42:02 +08:00
zhufanmao ef36ecd376 avoid some proxy not support select command 2017-08-31 20:26:32 +08:00
Ingo Oeser 3f4502990a fix bad error code
By providing a unique error code instead of a format specifier without using an error formatting function.
2017-08-03 01:52:24 +02:00
astaxie 83814a76cc hotfix: err nil 2017-05-02 12:47:15 +08:00
astaxie 44bdf1df63 ignore NilErr 2017-04-30 23:38:48 +08:00
astaxie a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
astaxie aa8f7bc146 fix ineffectual 2017-04-28 22:36:28 +08:00
astaxie 3e29078f68 add check ineffect and gofmt 2017-04-28 21:38:08 +08:00
Faissal Elamraoui bf6bd6b292 Fixes #2587
Fixes warnings and errors raised by gometalinter and gosimple.
2017-04-23 19:19:05 +02:00
HSoshiant 7886e69236 Update sess_file.go 2017-04-17 12:37:54 -04:00
astaxie f49f3f92ec Merge pull request #2533 from cnxh/redis-session-poolsize
redis poolsize could set to zero
2017-03-29 10:00:28 +08:00
astaxie bf469f0b55 Revert "close mysql connection" 2017-03-29 09:57:18 +08:00
xia hao 7c3a997735 poolsize could set to zero
sometimes we may want disable the redis pool
2017-03-27 23:34:58 +08:00
astaxie d956444965 Merge branch 'develop' into add-gosimple 2017-03-18 11:20:30 +08:00
Sergey Lanzman 37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
Sergey Lanzman 856fde28dc add unconverted support 2017-03-17 19:45:30 +02:00
liming 872a964145 1.add "defer f.close()" in SessionRead to fix file handle leak if DecodeGob failed
2.rewrite SessionRegenerate
2017-02-09 14:18:30 +08:00
liming dade92d98b close mysql connection 2017-02-09 14:16:23 +08:00
Miroslav Genov a74ebaa1eb beego/session: return proper error when session is not found
Parent errs was returned instead of err which is returned from the last
statement.
2016-11-13 10:01:29 +02:00
GrimTheReaper 3c05eafbc4 HTTP Only Configurable 2016-10-10 09:50:34 -05:00
astaxie 0ef357ebd7 session:output error 2016-09-11 21:02:11 +08:00
maxin ef0d3d80dc set session.managerconfig public 2016-08-13 21:07:27 +08:00
astaxie e21b425957 Merge pull request #1953 from lcbluestorm/master
add ssdb session provider
2016-05-20 22:53:23 +08:00
lcbluestorm e77a591a6c delete test file 2016-05-20 17:25:22 +08:00
lcbluestorm 4890dd708c clear code 2016-05-20 10:27:18 +08:00
lcbluestorm 6234b50111 test done 2016-05-19 21:00:04 +08:00
lcbluestorm e50f4f5631 complete sess_ssdb.go 2016-05-15 12:15:40 +08:00
lcbluestorm 0e4b9563ae add test file 2016-05-10 20:08:15 +08:00
lcbluestorm 27be1e7ca3 add ssdb-session interface 2016-05-10 19:56:45 +08:00