 
 import Foundation
 
-public class SingleServer: Server {
+public class FCGIServer: Server {
 
     public var maxConnections: UInt64
     public var maxRequests: UInt64

            self.sock.closeSocket()
        }
        
        while true {
            do {
                // wait indefinitely
                try self.sock.waitForConnection(nil)
                let conn = try self.sock.acceptConnection()
                let connection = self.connectionType.init(sock: conn, server: self)
                connection.loop(false)
            } catch {
                print(error)
                break

            self.maxConnections = 100
        }
        self.maxRequests = self.maxConnections
        self.isThreaded = threaded
        
        if threaded {
            self.connectionsQueue = NSOperationQueue()
        }
    }
    
    // For debug only
