I don't think you can limit the number of requests by the
MaxRequestsPerConn of fasthttp, because the Conn in this func is new struct created by fasthttp which stores in pool. Real client connections will be send to channels which be processed by these Conns.
For @ Tamás , Server.ConnState applies to net connections, not request on the keep-live connection.