summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/socket.js
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-11-11 18:04:17 +0300
committerMax Romanov <max.romanov@nginx.com>2019-11-11 18:04:17 +0300
commitf2610d216059fd2dfced37442ea4e76f0b88a33b (patch)
tree0bdb0abf7e5ff6bd0362909d4eace9b81c03734b /src/nodejs/unit-http/socket.js
parented3298a3c68bb257b43425c92b07e224c7f46be3 (diff)
downloadunit-f2610d216059fd2dfced37442ea4e76f0b88a33b.tar.gz
unit-f2610d216059fd2dfced37442ea4e76f0b88a33b.tar.bz2
Fixing libunit 'off by 2' issue in library.
Name and value in each header are 0-terminated, so additional 2 bytes should be allocated for them. There were several attempts to add these 2 bytes to headers in language modules, but some modules weren't updated. Also, adding these 2 bytes is specific to the implementation which may be changed later, so extending this mechanics to modules may cause errors.
Diffstat (limited to 'src/nodejs/unit-http/socket.js')
0 files changed, 0 insertions, 0 deletions