improve rlimit usage (#982)

* improve rlimit usage

* fix windows build

* fix code style
This commit is contained in:
s7v7nislands
2016-08-03 11:01:36 +08:00
committed by Matt Holt
parent 89f5b646c3
commit c110b27ef5
3 changed files with 29 additions and 20 deletions

6
rlimit_windows.go Normal file
View File

@ -0,0 +1,6 @@
package caddy
// checkFdlimit issues a warning if the OS limit for
// max file descriptors is below a recommended minimum.
func checkFdlimit() {
}