1. 03 Jan, 2016 1 commit
  2. 30 Dec, 2015 2 commits
  3. 29 Dec, 2015 1 commit
  4. 27 Dec, 2015 3 commits
  5. 26 Dec, 2015 1 commit
  6. 23 Dec, 2015 1 commit
  7. 22 Dec, 2015 3 commits
  8. 21 Dec, 2015 7 commits
  9. 19 Dec, 2015 2 commits
  10. 18 Dec, 2015 2 commits
  11. 17 Dec, 2015 10 commits
  12. 16 Dec, 2015 4 commits
    • astaxie's avatar
      Merge pull request #1486 from KilledKenny/oomDos · 2aa50c24
      astaxie authored
      Added MaxMemory limit to CopyBody() Supersedes #1484
      2aa50c24
    • astaxie's avatar
      reduce the slicegrow · dbc4ac69
      astaxie authored
      dbc4ac69
    • astaxie's avatar
      refactor router · 29752e25
      astaxie authored
      29752e25
    • Simon Rawet's avatar
      Added MaxMemory limit to CopyBody() · 52c4c1fb
      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()
      52c4c1fb
  13. 15 Dec, 2015 3 commits