summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2020-09-18 13:20:06 +0300
committerIgor Sysoev <igor@sysoev.ru>2020-09-18 13:20:06 +0300
commit6b9882fc142cab4a15a272991096ef4db260bf0f (patch)
tree3e99cd08a96a83701b30800939400cba70fd1030 /src/nxt_unit.h
parent6cfbf4ba791000705efeed4d29a212f6bd86821c (diff)
downloadunit-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_unit.h')
0 files changed, 0 insertions, 0 deletions