Permalink
Browse files

reapplied pull request#262 which was lost in merge

  • Loading branch information...
purplefox committed Jul 10, 2012
1 parent 916d068 commit efca16393ab5697b96d34d6a492ce3705402708a
@@ -271,7 +271,6 @@ public DefaultHttpServerResponse sendFile(String filename) {
}
conn.responseComplete();
-
}
return this;
@@ -178,6 +178,7 @@ abstract class NetServer {
*/
NetServer setTCPKeepAlive(boolean keepAlive) {
jServer.setTCPKeepAlive(keepAlive)
+ this
}
/**
@@ -242,7 +243,7 @@ abstract class NetServer {
* @return true if TCP keep alive is enabled
*/
Boolean isTCPKeepAlive() {
- return jServer.isTCPKeepAlive()
+ jServer.isTCPKeepAlive()
}
/**

0 comments on commit efca163

Please sign in to comment.