ysqi
b807362c39
Reset
2016-06-01 20:33:10 +08:00
ysqi
d9b05e6b3f
Print complete URL after running
2016-06-01 20:18:11 +08:00
JessonChan
98dfecfd8a
change beego log function to logs function
2016-03-24 17:39:29 +08:00
astaxie
6c0979c314
Merge pull request #1805 from JessonChan/abort_panic_bug
...
Abort panic bug
2016-03-23 10:22:32 +08:00
JessonChan
0859ec570c
refactor of error response and fix err code bug
2016-03-17 09:46:34 +08:00
JessonChan
94599013fc
url to lower case
2016-03-16 07:53:36 +08:00
JessonChan
565c4a4d59
make the code run more fast
2016-03-15 18:50:18 +08:00
JessonChan
34615ee8fc
add router filter enable flag
2016-03-15 18:37:54 +08:00
JessonChan
c51bc86d3f
goto bug fixed
2016-03-15 16:51:21 +08:00
JessonChan
8660a54fac
make router fast
2016-03-15 11:49:23 +08:00
astaxie
c8bbfb75f0
Merge pull request #1782 from JessonChan/some_wip
...
BeeLogger can be the writer of http server's log
2016-03-14 14:47:29 +08:00
astaxie
d90195061f
fix #1783
2016-03-13 11:16:19 +08:00
JessonChan
9872041f12
timeDur is used only when need
2016-03-11 14:14:58 +08:00
JessonChan
8c37e76503
the net/http should set header first,the set http status code and then write the content
2016-02-24 14:14:16 +08:00
JessonChan
76d69b6e51
prevent auto detect of content-type
...
https://golang.org/src/net/http/server.go#L1031
2016-02-24 10:34:20 +08:00
nemtsevp
93b04e8a3b
Exceptions in controller methods
...
Exceptions in methods names should be changed according to controller.go
2016-01-21 09:44:17 +03:00
astaxie
23bb36d35c
fix the issue #1573
2016-01-18 23:29:56 +08:00
astaxie
fa8f6e5a53
session destroy
2016-01-18 16:11:27 +08:00
youngsterxyf
ac3b013de7
DRY
2016-01-18 15:17:42 +08:00
astaxie
f925bb9058
golint all the files
2016-01-18 00:18:21 +08:00
astaxie
6660720ce6
update some config name
2016-01-12 21:55:02 +08:00
astaxie
73168d2f7d
Merge pull request #1527 from JessonChan/develop
...
reuse compress writer
2016-01-04 14:36:40 +08:00
JessonChan
fd2ded190b
EnableGzip bug fixed
2016-01-04 09:27:58 +08:00
astaxie
6585e66f97
all the browser should support delete and put now
2016-01-03 20:36:16 +08:00
JessonChan
3ebf275157
fixed camel style name
2016-01-03 15:40:44 +08:00
Vitaly Velikodny
48fd9675ad
Refactoring: Move dev & prod runmodes to const
2015-12-29 21:32:37 +03:00
astaxie
2aa50c240f
Merge pull request #1486 from KilledKenny/oomDos
...
Added MaxMemory limit to CopyBody() Supersedes #1484
2015-12-16 23:44:42 +08:00
astaxie
29752e2575
refactor router
2015-12-16 23:11:03 +08:00
Simon Rawet
52c4c1fb98
Added MaxMemory limit to CopyBody()
...
Beego only uses the MaxMemory flag when using go's built in functions
for parsing forms. However the CopyBody() function have no limit an will
coppy anny amount of data into memory using ioutil.ReedAll() on the
request body whitout anny size validation or limit.
This fix wrapps input.Requst.Body in a LimitedReader using the same
memory limit as ParseFormOrMulitForm()
2015-12-16 10:37:21 +01:00
astaxie
2b651fbae2
reuse map in tree.Match
2015-12-11 13:51:01 +08:00
astaxie
80bc372f17
pool.Put
2015-12-11 00:20:17 +08:00
astaxie
f70f338025
use sync.Pool to reuse Context
2015-12-10 21:59:54 +08:00
astaxie
be60f47488
Merge pull request #1455 from nkbai/develop
...
windows下静态文件映射找不到问题以及 grace init延后
2015-12-09 23:44:45 +08:00
astaxie
d1bba02958
refact beego config
2015-12-09 23:35:04 +08:00
nkbai
ff0762cc19
Merge remote-tracking branch 'upstream/develop' into develop
2015-12-03 15:50:21 +08:00
nkbai
6aaca2eca8
router.go Header 毫无用处
...
context/output.go 简化一下代码,更清晰
2015-11-26 14:56:39 +08:00
JessonChan
7ef9b3d55b
runnable typo fixed
2015-11-10 14:07:26 +08:00
astaxie
fd4630c6dd
impove the ResponseWriter. fix #1410
2015-11-04 23:52:42 +08:00
astaxie
912abe3272
fix #1388
2015-10-12 21:26:18 +08:00
JessonChan
caf3714495
revert exceptMethod
2015-09-19 05:41:10 +08:00
JessonChan
983bac986a
runFunction camel name
2015-09-18 18:34:07 +08:00
JessonChan
56032c67af
runFunction camel name
2015-09-18 18:31:06 +08:00
JessonChan
40cb8e0cf1
use reflect to ensure all methods been except
2015-09-18 18:18:12 +08:00
astaxie
ff5b09fc19
golint context
2015-09-10 15:31:09 +08:00
astaxie
c11740b647
make golint happy router.go
2015-09-08 22:01:13 +08:00
astaxie
67b36d7c48
make golint happy
2015-09-08 21:41:38 +08:00
astaxie
61570ac2f7
make golint happy with controller.go
2015-09-08 10:43:42 +08:00
astaxie
f28a941e26
make golint happy and also make the config readable
2015-09-07 23:19:42 +08:00
陈小玉
506f54a080
Update router.go, add Flush for responseWriter
2015-08-19 15:23:50 +08:00
JessonChan
b26ef5b2e5
typo fixed
...
registor==>register
innner ==> inner
2015-07-27 08:44:58 +08:00