Prev: Next: , Up: ListenHTTP[Contents][Index]


9.9.2 Listener-specific limits

ListenHTTP directive: Client n

Specify for how long pound will wait for a client request (default: 10 seconds). It will drop the connection if client doesn’t send any data within this interval.

This statement overrides the global timeout value (see Timeouts) for this particular listener.

ListenHTTP directive: MaxRequest n

Limits the maximum allowed size of incoming requests. A request bigger than that will be responded with status 413.

By default, there is no limit on the request size.

ListenHTTP directive: MaxURI n

Limits the maximum allowed length of incoming request URI. A request with an URI longer than that will be responded with status 414.

By default, there is no limit on the URI length.

ListenHTTP directive: CheckURL "pattern"

Define a pattern that must be matched by each request sent to this listener. A request that does not match will be returned a 501 status.

ListenHTTP directive: xHTTP n

Defines which HTTP method are accepted. The possible values are:

0

Accept only standard HTTP methods: GET, POST, HEAD. This is the default.

1

Allow also extended HTTP methods: PUT, PATCH, DELETE.

2

Additionally allow standard WebDAV methods: LOCK, UNLOCK, PROPFIND, PROPPATCH, SEARCH, MKCOL, MOVE, COPY, OPTIONS, TRACE, MKACTIVITY, CHECKOUT, MERGE, REPORT.

3

Additionally allow MS extension WebDAV methods: SUBSCRIBE, UNSUBSCRIBE, NOTIFY, BPROPFIND, BPROPPATCH, POLL, BMOVE, BCOPY, BDELETE, CONNECT.