nchan
nchan copied to clipboard
Worker crash when response of nchan_authorize_request too large
Nchan 1.2.7 & Openresty 1.19.3.1 Compiled from source
I just figured out that i always get a worker crash when the response body of the nchan_authorize_request subrequest exceeds a certain size limit. The attached html file (if set as response body) should help to reproduce this. It does not matter which response code is returned.
Error in log file: double free or corruption (!prev) 2021/01/21 10:17:32 [alert] 1#1: worker process 13 exited on signal 6 (core dumped)
Could this have been introduced with https://github.com/slact/nchan/commit/c0934727d1674711911195224db153378681b020