- 17 Dec, 2015 6 commits
- 16 Dec, 2015 4 commits
-
-
astaxie authored
Added MaxMemory limit to CopyBody() Supersedes #1484
-
astaxie authored
-
astaxie authored
-
Simon Rawet authored
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()
-
- 15 Dec, 2015 10 commits
-
-
Pelle Johnsen authored
- Also add test covering the issue
-
JessonChan authored
-
JessonChan authored
-
JessonChan authored
-
https://github.com/astaxie/beegoastaxie authored
-
astaxie authored
Revert "compress method fixed"
-
astaxie authored
-
https://github.com/astaxie/beegoastaxie authored
-
astaxie authored
compress method fixed
-
JessonChan authored
in http,the deflate is zlib compress method accoding to the sec http://tools.ietf.org/html/rfc2616#section-3.5 The "zlib" format defined in RFC 1950 [31] in combination with the "deflate" compression mechanism described in RFC 1951 [29].
-
- 12 Dec, 2015 1 commit
-
-
fuxiaohei authored
-
- 11 Dec, 2015 1 commit
-
-
astaxie authored
-
- 10 Dec, 2015 2 commits
- 09 Dec, 2015 6 commits
- 04 Dec, 2015 1 commit
-
- 03 Dec, 2015 1 commit
-
-
nkbai authored
-
- 02 Dec, 2015 5 commits
- 30 Nov, 2015 2 commits
- 29 Nov, 2015 1 commit
-
-
Ryan A. Chapman authored
Beego currently handles the case of "conf/app.conf" not existing, but all other errors are not logged. This fixes that. I ran into an issue where beego was not listening on the correct port, and it turned out that the conf/app.conf file had a colon ":" instead of an equal sign "=" (confusion of INI vs YAML formats). When there was a parsing error, beego would give up on parsing app.conf and not log anything to the console.
-