Skip to content

Conversation

@kanongil
Copy link
Contributor

@kanongil kanongil commented Aug 4, 2025

No description provided.

@kanongil kanongil added the bug Bug or defect label Aug 4, 2025
Copy link
Contributor

@Marsup Marsup left a comment

Choose a reason for hiding this comment

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

Ha, it's always windows... Not sure what's going on and I don't have a windows machine to test on.

test/index.js Outdated

const req = Http.request(options, (res) => { });
req.on('error', Hoek.ignore);
req.on('error', Hoek.ignore); // For some reason the stream errors _after_ being destroyed...
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't the fix supposed to avoid this situation?

Copy link
Contributor Author

@kanongil kanongil Aug 5, 2025

Choose a reason for hiding this comment

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

Yes, kinda. But this is a client error, that doesn't appear to be caused by incorrect API usage. I will make it more specific.

@kanongil
Copy link
Contributor Author

kanongil commented Aug 5, 2025

Ha, it's always windows... Not sure what's going on and I don't have a windows machine to test on.

I made a fix in #104.

@Marsup
Copy link
Contributor

Marsup commented Aug 6, 2025

Looks like you were right! 😀

@Marsup Marsup added this to the 8.1.1 milestone Aug 6, 2025
@Marsup Marsup self-assigned this Aug 6, 2025
@Marsup Marsup merged commit 6625d00 into hapijs:master Aug 6, 2025
10 checks passed
@kanongil kanongil deleted the fix-aborted branch August 11, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants