Skip to content

Commit

Permalink
fix format error
Browse files Browse the repository at this point in the history
  • Loading branch information
刘连营 committed Jun 26, 2017
1 parent 58bbea6 commit c387f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapters/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ module.exports = function httpAdapter(config) {

// Set tcp no delay
// See https://nodejs.org/api/net.html#net_socket_setnodelay_nodelay
config.noDelay===true && req.setNoDelay(config.noDelay);
config.noDelay === true && req.setNoDelay(config.noDelay);

// Handle request timeout
if (config.timeout && !timer) {
Expand Down

0 comments on commit c387f4e

Please sign in to comment.