这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@foxcpp
Copy link
Collaborator

@foxcpp foxcpp commented Feb 15, 2020

Limits specified allow header sections with total size up to ~3.8 MiB.
This should be enough for literally any message.

Closes #28.
Related to foxcpp/maddy#118.

Limits specified allow header sections with total size up to ~3.8 MiB.
This should be enough for literally any message.
@foxcpp foxcpp requested a review from emersion February 15, 2020 16:18
@codecov-io
Copy link

codecov-io commented Feb 15, 2020

Codecov Report

Merging #71 into master will decrease coverage by 0.1%.
The diff coverage is 80%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #71      +/-   ##
=========================================
- Coverage    80.2%   80.1%   -0.11%     
=========================================
  Files          15      15              
  Lines         980     995      +15     
=========================================
+ Hits          786     797      +11     
- Misses        119     122       +3     
- Partials       75      76       +1
Impacted Files Coverage Δ
textproto/header.go 84.04% <80%> (-0.61%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46fe03d...4781677. Read the comment docs.

Copy link
Owner

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good otherwise, nice addition

Copy link
Owner

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@emersion emersion merged commit 9c4415e into emersion:master Feb 15, 2020
@foxcpp foxcpp deleted the limits branch February 15, 2020 19:19
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.

Add limits to prevent abuse

3 participants