View definition

(Server).MaxRequestsPerConn

Defined in github.com/valyala/fasthttp/server.go

Description

Maximum number of requests served per connection.

The server closes connection after the last request. 'Connection: close' header is added to the last response.

By default unlimited number of requests may be served per connection.

MaxRequestsPerConn is referenced in 1 repository

github.com/valyala/fasthttp