Skip to content

Request.PostBody增加Post内容大小限制,默认为32mb#218

Merged
devfeel merged 13 commits intomasterfrom
develop
Oct 29, 2019
Merged

Request.PostBody增加Post内容大小限制,默认为32mb#218
devfeel merged 13 commits intomasterfrom
develop

Conversation

@devfeel
Copy link
Owner

@devfeel devfeel commented Oct 29, 2019

Version 1.7.3

  • New Feature: Request.PostBody增加Post内容大小限制,默认为32mb
  • About MaxBodySize:
    • 通过app.HttpServer.SetMaxBodySize设置
    • 默认为 32 << 20 (32 mb)
    • -1 : unlimted
    • 0 : use default value
    • other: use other value
  • 感谢 @wziww 提供 PR
  • 2019-10-29 12:00 at ShangHai

devfeel and others added 13 commits August 16, 2019 21:27
“r.httpCtx = ctx” move to Request.reset
add “req.httpCtx = ctx” in Request.reset
add request max body size limit
* New Feature: Request.PostBody增加Post内容大小限制,默认为32mb
* About MaxBodySize:
    - 通过app.HttpServer.SetMaxBodySize设置
    - 默认为 32 << 20 (32 mb)
    - -1 : unlimted
    - 0 : use default value
    - other: use other value
* 感谢 @wziww 提供 PR
* 2019-10-29 12:00 at ShangHai
@devfeel devfeel merged commit a294a93 into master Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant