Skip to content

Instantly share code, notes, and snippets.

@rgarcia
Created March 26, 2016 23:06
Show Gist options
  • Save rgarcia/21899e0fad67002f4731 to your computer and use it in GitHub Desktop.
Save rgarcia/21899e0fad67002f4731 to your computer and use it in GitHub Desktop.
ldclient-node eventsource patch
*** 171,176 ****
--- 171,177 ----
req.on('error', onConnectionClosed);
req.setNoDelay(true);
+ req.setSocketKeepAlive(true);
req.end();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment