Subject: | Value of server is ignored |
The interface around the server attribute is kind of weird.
If you don't pass in a server class then start_server() is not called when the object is created. However, if you _do_ pass in a server class then server class is ignored when start_server is called. Also, the server() attribute is then set to a Test::TCP object.
It feels like
a) the server attribute passed to new() should actually be called server_class
b) the server attribute should then also be passed to Plack::Loader
Happy to provide a patch if you'd accept this.