Uh oh!
There was an error while loading. Please reload this page.
src: free up memory before re-setting URLHost value - #18357
Conversation
prog1dev
commented
Jan 24, 2018
TimothyGu
left a comment
There was a problem hiding this comment.
Looks good! One tiny comment.
| case HostType::H_DOMAIN: value_.domain.~string(); break; | ||
| case HostType::H_OPAQUE: value_.opaque.~string(); break; | ||
| default: break; | ||
| } |
There was a problem hiding this comment.
After resettig the value_, can you reset the type_ as well by setting it to HostType::H_FAILED?
apapirovski
left a comment
There was a problem hiding this comment.
LGTM with @TimothyGu's nit.
apapirovski
commented
Jan 24, 2018
apapirovski
commented
Jan 25, 2018
CI: https://ci.nodejs.org/job/node-test-pull-request/12731/ (the infrastructure should be less flaky now) |
TimothyGu
commented
Jan 26, 2018
The Windows issues look unrelated, as the Windows CI jobs have been unwell for a while now: https://ci.nodejs.org/job/node-test-commit-windows-fanned/ Unpinning dont-land-on-v6.x, as the URL parser will go into v6.x soon. |
BridgeAR
commented
Feb 1, 2018
Landed in 36fd25f |
Fixes: nodejs#18302 PR-URL: nodejs#18357 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
prog1dev
commented
Feb 1, 2018
yay! \o/ |
MylesBorins
commented
Mar 20, 2018
This landed cleanly on v8.x Should this be backported to |
@MylesBorins How to know if this should be backported or not? Just check the code? |
|
prog1dev
commented
Mar 20, 2018
@tniessen Shouldnt this part be in backporting-to-release-lines.md? |
TimothyGu
commented
Mar 23, 2018
Yes, this should indeed be backported to v6.x. It doesn't fix any known bugs, but increases the robustness of the code in question. |
Fixes: nodejs#18302 PR-URL: nodejs#18357 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Fixes: #18302 Backport-PR-URL: #19639 PR-URL: #18357 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Fixes: nodejs#18302 PR-URL: nodejs#18357 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Resolves#18302
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)