Skip to content

http: remove redundant call to socket.setTimeout()

Socket.prototype.setTimeout() clears the previous timer before setting a new one.

Refs: https://github.com/nodejs/node/pull/25748#discussion_r253393234

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading