Kong / openresty-patches

Moved to https://github.com/Kong/kong-build-tools
Apache License 2.0
14 stars 6 forks source link

fix(starttls) restore connection handlers in starttls patch #28

Closed hishamhm closed 5 years ago

hishamhm commented 5 years ago

This commit includes a modified version of the patch that adds the ngx.req.starttls function; it modifies the execution logic based on that of :sslhandshake, and restores the read and write connection handlers of the ngx_connection_t object.

bungle commented 5 years ago

Today I tested, and @james-callahan has been doing more work on service mesh, and now it seems that, well, with this patch it does not crash, but it does not crash with the original patch either.

james-callahan commented 5 years ago

This patch ran into an issue where the balancer phase is never started. We've merged #21 in lieu of this.