summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/os390-syscalls.c
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2017-02-07 12:47:11 -0500
committercjihrig <cjihrig@gmail.com>2017-02-09 12:38:06 -0500
commita4bb9fdb893c8f2c36a6b77862e29b2608e080c2 (patch)
tree3edd4030e6a2e43bffcca32057cc45d79bf08dec /deps/uv/src/unix/os390-syscalls.c
parentc239581e64668946cc4e95f126dc55912a2bd527 (diff)
downloadandroid-node-v8-a4bb9fdb893c8f2c36a6b77862e29b2608e080c2.tar.gz
android-node-v8-a4bb9fdb893c8f2c36a6b77862e29b2608e080c2.tar.bz2
android-node-v8-a4bb9fdb893c8f2c36a6b77862e29b2608e080c2.zip
http: include provided status code in range error
ServerResponse#writeHead() coerces the user provided status code to a number and then performs a range check. If the check fails, a range error is thrown. The coerced status code is included in the error message. This commit uses the user provided status code instead. PR-URL: https://github.com/nodejs/node/pull/11221 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/uv/src/unix/os390-syscalls.c')
0 files changed, 0 insertions, 0 deletions