Commit 6bf85bc8 authored by Brendan Ashworth's avatar Brendan Ashworth
Browse files

test: add test for 06cfff93 regression

This commit adds a test to ensure all options are NOT modified after
passing them to http.request. Specifically options.host and options.port
are the most prominent that would previously error, but add the other
options that have default values.

options.host and options.port were overridden for the one-argument
net.createConnection(options) call.

PR-URL: https://github.com/iojs/io.js/pull/1467


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 71805977
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment