diff options
author | Igor Sysoev <igor@sysoev.ru> | 2020-09-18 13:20:06 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2020-09-18 13:20:06 +0300 |
commit | 6b9882fc142cab4a15a272991096ef4db260bf0f (patch) | |
tree | 3e99cd08a96a83701b30800939400cba70fd1030 /src/nxt_main_process.c | |
parent | 6cfbf4ba791000705efeed4d29a212f6bd86821c (diff) | |
download | unit-6b9882fc142cab4a15a272991096ef4db260bf0f.tar.gz unit-6b9882fc142cab4a15a272991096ef4db260bf0f.tar.bz2 |
Fixed segmentation fault during reconfiguration.
If idle connection was closed before h1proto had been allocated
then c->socket.data is NULL. This happens if nxt_h1p_idle_response()
is called by nxt_h1p_idle_close(). However, h1p->conn_write_tail
is used only in nxt_h1p_request_send() that would not be called
after nxt_h1p_idle_response().
The bug was introduced in f237e8c553fd.
Diffstat (limited to 'src/nxt_main_process.c')
0 files changed, 0 insertions, 0 deletions