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

Conversation

@foxcpp
Copy link
Collaborator

@foxcpp foxcpp commented Apr 14, 2019

No description provided.

@foxcpp foxcpp mentioned this pull request Apr 14, 2019
5 tasks
foxcpp added 4 commits April 15, 2019 17:01
RFC 3463 is just codes, RFC 2034 defines actual extension.
Per RFC 2034 we must include a code, but some backends may not support
it, so provide a generic fallback.
@foxcpp foxcpp marked this pull request as ready for review April 15, 2019 14:27
@codecov
Copy link

codecov bot commented Apr 15, 2019

Codecov Report

Merging #37 into master will decrease coverage by 0.68%.
The diff coverage is 48.64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage   63.42%   62.73%   -0.69%     
==========================================
  Files           6        6              
  Lines         678      695      +17     
==========================================
+ Hits          430      436       +6     
- Misses        184      192       +8     
- Partials       64       67       +3
Impacted Files Coverage Δ
smtp.go 100% <ø> (ø) ⬆️
data.go 89.47% <ø> (ø) ⬆️
conn.go 61.37% <48.57%> (-1.46%) ⬇️
server.go 54.11% <50%> (ø) ⬆️

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 93209ab...d37e6b0. Read the comment docs.

@foxcpp
Copy link
Collaborator Author

foxcpp commented Apr 15, 2019

As for client support, I decided to leave it for another time because we don't return status codes in client functions at all.

data.go Outdated
Code int
Message string
Code int
EnhancedCode [3]int
Copy link
Owner

Choose a reason for hiding this comment

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

Could we have a special EnhancedCode type, so that it's easier to spot constants?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@emersion
Copy link
Owner

LGTM otherwise!

@emersion emersion merged commit 930d6df into emersion:master Apr 16, 2019
@emersion
Copy link
Owner

Thanks!

@foxcpp foxcpp deleted the enhanced-codes branch April 16, 2019 18:13
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.

2 participants