Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put the session in the packet handler map directly (for client sessions) #2667

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

marten-seemann
Copy link
Member

@marten-seemann marten-seemann commented Jul 9, 2020

As of #2640, Version Negotiation packets are now handled in the session. This allows us to put the session in the packet handler map directly, without the need to route packets through the client first.

@marten-seemann marten-seemann force-pushed the remove-unnecessary-client-packet-handler branch from e4d535f to fd5f555 Compare July 10, 2020 02:29
@codecov
Copy link

codecov bot commented Jul 10, 2020

Codecov Report

Merging #2667 into master will increase coverage by 0.14%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2667      +/-   ##
==========================================
+ Coverage   86.44%   86.57%   +0.14%     
==========================================
  Files         122      122              
  Lines        9763     9742      -21     
==========================================
- Hits         8439     8434       -5     
+ Misses        989      973      -16     
  Partials      335      335              
Impacted Files Coverage Δ
client.go 81.67% <100.00%> (+8.62%) ⬆️

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 953f347...fd5f555. Read the comment docs.

@marten-seemann
Copy link
Member Author

Increasing test coverage by deleting code. There's no better way to do it :)

@marten-seemann marten-seemann merged commit 543f479 into master Jul 10, 2020
@marten-seemann marten-seemann deleted the remove-unnecessary-client-packet-handler branch July 10, 2020 11:23
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
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