Files
nginx-unit/src
Max Romanov 7ea9ebc55a Fixed req_app_link reference counting on cancellation.
Re-scheduled req_app_link structures should have use_count exactly equal
to the number of references from the application and port list.  However,
there's one extra usage decrement that occurs after the req_app_link is
created because the use_count is initialised as 1.

This patch removes all excess instances of the usage decrement that caused
preliminary req_app_link release and router process crash.

To reproduce the issue need to cause request rescheduling between 2 app
processes.

This issue was introduced in 61e9f23a566d.
2020-02-03 11:20:59 +03:00
..
2019-09-05 15:27:32 +03:00
2017-07-12 20:32:22 +03:00
2017-07-12 20:32:22 +03:00
2017-01-17 20:00:00 +03:00
2018-06-25 16:51:47 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2018-06-25 16:51:47 +03:00
2017-01-23 19:56:03 +03:00
2017-02-22 15:09:59 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2019-03-11 17:31:59 +03:00
2019-11-14 16:39:54 +03:00
2019-11-14 16:39:54 +03:00
2019-11-14 16:39:54 +03:00
2019-11-14 16:39:54 +03:00
2019-11-14 16:39:54 +03:00
2017-08-28 10:20:40 +03:00
2019-03-11 17:31:59 +03:00
2017-01-17 20:00:00 +03:00
2017-11-20 17:08:29 +03:00
2019-11-26 16:26:24 +00:00
2017-08-31 00:42:16 +03:00
2018-02-07 15:34:42 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-03-09 18:03:27 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2019-03-11 17:31:59 +03:00
2019-02-25 18:09:37 +03:00
2019-11-26 16:26:24 +00:00
2017-03-14 19:03:49 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2019-11-14 16:39:54 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2018-06-25 16:51:47 +03:00
2019-11-14 16:39:54 +03:00
2019-03-11 17:31:59 +03:00
2017-01-17 20:00:00 +03:00
2017-01-23 19:56:03 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2018-07-27 16:57:45 +03:00
2017-01-27 11:35:11 +03:00
2017-09-22 16:42:42 +03:00
2017-01-17 20:00:00 +03:00
2017-01-17 20:00:00 +03:00
2019-03-11 17:31:59 +03:00
2018-06-25 16:51:47 +03:00
2019-03-11 17:31:59 +03:00
2019-11-14 16:39:54 +03:00
2018-08-06 17:27:33 +03:00
2018-08-06 17:27:33 +03:00
2018-07-16 13:30:11 +03:00
2017-01-17 20:00:00 +03:00
2019-10-10 19:42:41 +03:00
2018-02-07 15:34:42 +03:00
2019-11-26 16:26:24 +00:00