Skip to content

Handle duplicate goodbye answers in the same packet#928

Merged
bdraco merged 3 commits into
python-zeroconf:masterfrom
bdraco:dupe_records_in_packet
Jul 28, 2021
Merged

Handle duplicate goodbye answers in the same packet#928
bdraco merged 3 commits into
python-zeroconf:masterfrom
bdraco:dupe_records_in_packet

Conversation

@bdraco

@bdraco bdraco commented Jul 27, 2021

Copy link
Copy Markdown
Member
  • Solves an exception being thrown when we tried to remove the known answer
    from the cache when the second goodbye answer in the same packet was processed

  • We previously swallowed all exceptions on cache removal so this was not
    visible until 0.32.x which removed the broad exception catch

Fixes #926

@bdraco bdraco mentioned this pull request Jul 27, 2021
@codecov-commenter

codecov-commenter commented Jul 27, 2021

Copy link
Copy Markdown

Codecov Report

Merging #928 (3ed397b) into master (73e3d18) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #928   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2315      2315           
  Branches       383       383           
=========================================
  Hits          2315      2315           
Impacted Files Coverage Δ
zeroconf/_handlers.py 100.00% <100.00%> (ø)

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 73e3d18...3ed397b. Read the comment docs.

@bdraco bdraco force-pushed the dupe_records_in_packet branch from af12a2f to fb529bc Compare July 28, 2021 14:57
@bdraco bdraco changed the title Handle duplicate removes Handle duplicate goodbye answers in the same packet Jul 28, 2021
@bdraco bdraco marked this pull request as ready for review July 28, 2021 15:07
@bdraco bdraco merged commit 97e0b66 into python-zeroconf:master Jul 28, 2021
@bdraco bdraco deleted the dupe_records_in_packet branch July 28, 2021 15:08
systemcrash added a commit to openairplay/airplay2-receiver that referenced this pull request Jul 28, 2021
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.

Unclean shutdown 0.33

2 participants