Skip to content

v0.0.4

Compare
Choose a tag to compare
@chobits chobits released this 09 Dec 05:01
· 37 commits to master since this release
917cd1a

Directive change

proxy_connect_data_timeout (new directive)

Syntax: proxy_connect_data_timeout time
Default: 60s
Context: server

Sets the timeout between two successive read or write operations on client or proxied server connections. If no data is transmitted within this time, the connection is closed.

proxy_connect_read_timeout

Defines a timeout for reading a response from the proxied server.
The timeout is set only between two successive read operations, not for the transmission of the whole response.
If the proxied server does not transmit anything within this time, the connection is closed.

Deprecated.

It has the same function as the directive proxy_connect_data_timeout for compatibility. You can configure only one of the directives (proxy_connect_data_timeout or proxy_connect_read_timeout).

proxy_connect_send_timeout

Sets a timeout for transmitting a request to the proxied server.
The timeout is set only between two successive write operations, not for the transmission of the whole request.
If the proxied server does not receive anything within this time, the connection is closed.

Deprecated, it has no function. (For compatibility, you can still configure it, but it has no actual effect.)

Bugfix

  • fixed segfault on windows for nginx-1.17.x ~ nginx-1.23.2 by @chobits in #248
  • refactor logic of handling proxy timer by @chobits in #249
    • fixed abnormal timeouts during data's continuous interaction process
    • modified directive proxy_connect_send_timeout and proxy_connect_read_timeout
    • added new directive proxy_connect_data_timeout

Others

  • updated README.md: #Compatibility chapter updated by @chobits in #232
  • updated README.md: how to find the patch file by @chobits in #233
  • ci.yml: test nginx-1.22.1 by @chobits in #240
  • workerflow-test: support nginx 1.23.2 by @chobits in #241
  • added auto test workflow for openresty by @chobits in #242
  • test cases: fixed daemon hangup if case failed in t/*.t by @chobits in #243
  • runtest.sh: use $TEST_NGINX_GLOBALS_HTTP to find lua-resty-core by @chobits in #244
  • fixed occasional failure of test cases in CI/CD workflow by @chobits in #246
  • README.md: added workflow link by @chobits in #247

Full Changelog: v0.0.4 pull requests