Skip to content

fix: destroy IncomingMessage and invalid assertion#834

Merged
ronag merged 1 commit intomainfrom
incoming-close
Jun 15, 2021
Merged

fix: destroy IncomingMessage and invalid assertion#834
ronag merged 1 commit intomainfrom
incoming-close

Conversation

@ronag
Copy link
Copy Markdown
Member

@ronag ronag commented Jun 15, 2021

Change so that we destroy IncomingMessage without closing the
socket. Also fixes an invalid assertion that was triggered by
the test.

Change so that we destroy IncomingMessage without closing the
socket. Also fixes an invalid assertion that was triggered by
the test.
@ronag ronag requested review from dnlup and mcollina June 15, 2021 16:58
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 15, 2021

Codecov Report

Merging #834 (13e948d) into main (abfc22b) will increase coverage by 0.39%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #834      +/-   ##
==========================================
+ Coverage   99.56%   99.95%   +0.39%     
==========================================
  Files          26       26              
  Lines        2048     2048              
==========================================
+ Hits         2039     2047       +8     
+ Misses          9        1       -8     
Impacted Files Coverage Δ
lib/client.js 99.86% <100.00%> (+0.41%) ⬆️
lib/core/util.js 100.00% <100.00%> (ø)
lib/core/errors.js 100.00% <0.00%> (+5.95%) ⬆️

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 abfc22b...13e948d. Read the comment docs.

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm, sigh

@ronag
Copy link
Copy Markdown
Member Author

ronag commented Jun 15, 2021

sigh? 😕

@ronag ronag merged commit 61f5185 into main Jun 15, 2021
@Uzlopak Uzlopak deleted the incoming-close branch February 21, 2024 12:38
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 2024
Change so that we destroy IncomingMessage without closing the
socket. Also fixes an invalid assertion that was triggered by
the test.
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.

3 participants