1
0
镜像自地址 https://github.com/astaxie/beego.git 已同步 2025-07-17 18:52:16 +00: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
2015-09-18 12:11:48 +08:00
2015-09-10 14:53:19 +08:00
2015-12-09 23:47:44 +08:00
2015-09-11 22:28:28 +08:00
2015-09-18 12:12:02 +08:00
2015-12-02 16:35:36 +08:00
2015-12-09 23:35:04 +08:00
2015-09-17 23:47:26 +08:00
2015-09-12 23:15:23 +08:00
2015-09-12 23:19:18 +08:00
2015-09-12 23:28:24 +08:00
2015-09-17 23:47:26 +08:00
2015-10-12 20:50:58 +08:00
2015-08-31 11:58:11 +08:00
2015-12-09 23:35:04 +08:00
2015-12-09 23:35:04 +08:00
2015-12-09 23:35:04 +08:00
2015-12-09 23:35:04 +08:00
2015-12-10 00:12:52 +08:00
2015-12-09 23:35:04 +08:00
2015-09-08 21:41:38 +08:00
2015-12-10 21:59:54 +08:00
2015-12-09 23:35:04 +08:00
2015-12-09 23:35:04 +08:00
2015-09-08 21:41:38 +08:00
2015-09-08 21:41:38 +08:00
2015-12-09 23:35:04 +08:00
2015-12-09 23:35:04 +08:00
2014-05-17 02:26:50 +08:00
2015-09-08 21:41:38 +08:00
2015-09-08 21:41:38 +08:00
2015-09-08 21:41:38 +08:00
2015-12-09 23:35:04 +08:00
2015-07-26 17:06:55 +00:00
2015-10-12 21:26:18 +08:00
2015-12-16 10:37:21 +01:00
2015-11-11 16:22:05 +08:00
2015-12-10 21:59:54 +08:00
2015-09-08 23:29:58 +08:00
2015-12-09 23:35:04 +08:00
2015-09-08 23:41:41 +08:00
2015-09-17 23:47:26 +08:00
2015-09-06 12:17:16 +08:00

Beego

Build Status GoDoc

beego is used for rapid development of RESTful APIs, web apps and backend services in Go. It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.

More info beego.me

##Quick Start ######Download and install

go get github.com/astaxie/beego

######Create file hello.go

package main

import "github.com/astaxie/beego"

func main(){
    beego.Run()
}

######Build and run

    go build hello.go
    ./hello

######Congratulations! You just built your first beego app. Open your browser and visit http://localhost:8000. Please see Documentation for more.

Features

  • RESTful support
  • MVC architecture
  • Modularity
  • Auto API documents
  • Annotation router
  • Namespace
  • Powerful development tools
  • Full stack for Web & API

Documentation

Community

LICENSE

beego is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

仓库描述
beego mirror
自述文档 10 MiB
编程语言
Go 99.6%
Shell 0.4%