Skip to content

Commit

Permalink
Merge pull request #869 from camptocamp/backport/867-to-8.0-gdal3.7
Browse files Browse the repository at this point in the history
[Backport 8.0-gdal3.7] Make LimitRequestLine configurable
  • Loading branch information
sbrunner authored Aug 22, 2024
2 parents d4c0d43 + e55c988 commit f1999df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ ENV MS_DEBUGLEVEL=0 \
BUSY_TIMEOUT=300 \
IDLE_TIMEOUT=300 \
IO_TIMEOUT=40 \
APACHE_LIMIT_REQUEST_LINE=8190 \
GET_ENV=env

CMD ["/usr/local/bin/start-server"]
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ to tune it:
this period of time will be terminated (defaults to `300`)
- `IO_TIMEOUT`: The maximum period of time the module will wait while trying to
read from or write to a FastCGI application (defaults to `40`)
- `APACHE_LIMIT_REQUEST_LINE`: The maximum size of the HTTP request line in
bytes (defaults to `8190`)

## Running multiple Mapfiles

Expand Down
1 change: 1 addition & 0 deletions runtime/etc/apache2/conf-enabled/mapserver.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FcgidMaxProcessesPerClass ${MAX_PROCESSES}
FcgidBusyTimeout ${BUSY_TIMEOUT}
FcgidIdleTimeout ${IDLE_TIMEOUT}
FcgidIOTimeout ${IO_TIMEOUT}
LimitRequestLine ${APACHE_LIMIT_REQUEST_LINE}

ScriptAliasMatch "^${MAPSERVER_BASE_PATH}/(.*)" /usr/local/bin/mapserv_wrapper/$1
ScriptAliasMatch "^${MAPSERVER_BASE_PATH}" /usr/local/bin/mapserv_wrapper
Expand Down

0 comments on commit f1999df

Please sign in to comment.