Releases: ledgetech/lua-resty-http
v0.17.2
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
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
- @chronolaw made their first contribution in #266
- @alexdowad made their first contribution in #282
- @catbro666 made their first contribution in #287
- @StarlightIbuki made their first contribution in #289
Full Changelog: v0.17.0-beta.1...v0.17.1
v0.17.0-beta.1
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
v0.16
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
Add Content-Length: 0 header on POST/PUT/PATCH when the body is absent
Add flag to enable debug logging
v0.13
v0.12
v0.11
- 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 ash["Content-Type"]
. However, this breaks real world cases whereh.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
- URI parsing is now more robust for missing paths
- Scheme-less URIs (
//example.com
) are now supported provided thatngx.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)