commit | 3bd1beb4ba0dc3f1b4c9a0adbf2e33c1248e755a | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Tue May 15 07:08:55 2018 -0700 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri May 18 17:17:22 2018 +0000 |
tree | c8044c0fe73aaf78ce68726175771cbd1f860a8d | |
parent | a9075d9e1803add3237466e85324d95907e8929d [diff] |
Increase nginx timeouts from 10s to 30s Testing in certain network environments has show the 10s timeout is too small. It's unclear if the issue is with the client or server side. When it hits, it occurs during the upload of BMC and PNOR images. The error on the client side is a errno 104 (Connection reset by peer). The error on the server side is a 408 which in nginx indicates a timeout for the client_body_timeout setting or the client_header_timeout setting. It's doubtful the client_header could be the issue here so only the client_body_timeout was focused on. The send_timeout value can also result in a dropped client connection. The default for both the client_body_timeout and the send_timeout is 60s. In openbmc these were changed to 10s to match with OWASP guidelines. This commit bumps them up to 30s to address this issue. Change-Id: I7e360ed03fc533e5ca77f829859a82737fe9d5bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.