Skip to content

Commit

Permalink
Merge pull request #2101 from nghttp2/nghttpx-fix-header-timeout-in-conf
Browse files Browse the repository at this point in the history
nghttpx: Fix frontend-header-timeout does not work in config file
  • Loading branch information
tatsuhiro-t committed Mar 16, 2024
2 parents a737938 + ceccba0 commit 061998e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shrpx_config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3046,6 +3046,8 @@ int parse_config(Config *config, int optid, const StringRef &opt,
LOG(WARN) << opt << ": deprecated. Use frontend-header-timeout";

return 0;
case SHRPX_OPTID_FRONTEND_HEADER_TIMEOUT:
return parse_duration(&config->http.timeout.header, opt, optarg);
case SHRPX_OPTID_FRONTEND_WRITE_TIMEOUT:
return parse_duration(&config->conn.upstream.timeout.write, opt, optarg);
case SHRPX_OPTID_BACKEND_READ_TIMEOUT:
Expand Down

0 comments on commit 061998e

Please sign in to comment.