Skip to content

Releases: ledgetech/lua-resty-http

v0.17.2

29 Feb 19:44
Compare
Choose a tag to compare

What's Changed

  • fix poolname to include the digest of the cert for mTLS by @catbro666 in #307

Full Changelog: v0.17.1...v0.17.2

v0.17.1

22 Mar 09:51
Compare
Choose a tag to compare

What's Changed

  • Documentation is clearer about using same connection for multiple requests via 'request' function by @alexdowad in #282
  • fix 100 response with headers by @catbro666 in #287
  • fix: no trailing "?" for empty query table by @StarlightIbuki in #289

New Contributors

Full Changelog: v0.17.0-beta.1...v0.17.1

v0.17.0-beta.1

11 Feb 16:47
Compare
Choose a tag to compare

Improvements

  • Improved error messages for bad status lines (thanks @Invizory)
  • Adds support for returning and supplying an SSL session for reuse (thanks @GuyLewin)

Experimental mTLS support

This release includes experimental support for mTLS. This feature requires an OpenResty built with as yet un-merged PRs, which can be found here:

This pre-release is intended for testing those features in anticipation of its inclusion in mainline OpenResty. If that doesn't happen for some reason, the code here may well be discarded.

v0.16.1

09 Apr 16:16
9bf951d
Compare
Choose a tag to compare
  • Fixed issue where the host parsed from the URI given in request_uri was not being used as a default for SNI in lieu of explicit ssl_server_name config. This restores backwards compatibility with <= v0.15.

v0.16

06 Apr 12:50
faf7b45
Compare
Choose a tag to compare

NOTE: This release deprecates some syntax and features. In particular httpc:connect now requires a single table argument, and the proxy_request and proxy_response helpers are deprecated. Please review the documentation for details.

  • New improved connection syntax and logic. These changes make SSL + proxy connection reuse safer, and so the new syntax is strongly recommended over the older, now deprecated syntax. Thanks @Tieske for this major contribution.

  • Documentation largely rewritten and tidied up.

  • request_uri now supports ipv6 literals.

  • Content-Length calculation now handles a wider variety of Lua types.

  • Transfer-Encoding will always override (and remove) Content-Length as per the spec, to help prevent request smuggling.

  • Various other bug fixes and improvements.

v0.14

13 Aug 10:19
Compare
Choose a tag to compare

Add Content-Length: 0 header on POST/PUT/PATCH when the body is absent
Add flag to enable debug logging

v0.13

03 Feb 12:38
Compare
Choose a tag to compare

Added a proxy_authorization option to proxy_connect, as a default authorisation header. Thanks @bungle for the contribution!

v0.12

23 Dec 14:31
Compare
Choose a tag to compare

Added support for making HTTP requests through a forward proxy.
Thanks to @sjakthol for the PR and everyone else involved for reviewing and their patience.

v0.11

24 Jul 13:50
Compare
Choose a tag to compare
  • Feat: IMPORTANT BREAKING CHANGE Header normalisation no longer does anything to hyphens or underscores. Previously, headers were normalised so that h.content_type was equally as valid as h["Content-Type"]. However, this breaks real world cases where h.HEADER_NAME must be forwaded with the underscore intact. Header names are now only normalised for case, as per the HTTP spec.
  • Doc: Documented the set_timeouts to api (thanks @detailyang)
  • Fix (#103): User params table is no longer modified by the module (thanks @bungle for the report)

v0.10

22 Nov 15:29
Compare
Choose a tag to compare
  • URI parsing is now more robust for missing paths
  • Scheme-less URIs (//example.com) are now supported provided that ngx.var.scheme is defined at run time
  • parse_uri can now optionally return query strings separately to paths
  • Added support for the new set_timeouts cosocket method (thanks @alubbe)
  • Various performance tweaks (thanks @hamishforbes, @bungle and @membphis)