after performing some reload at once, nginx's master process goes down, but workers are still alive. Got a break on function it crashes and saw, that peer_shm->upstream_name isn't NULL, but peer_shm->upstream->data is '\001' instead of normal data as like upstream_name->data. peer_shm->sockaddr contains a good address, only upstream_name somehow is missed. I dropped the checking for the upstream_name and everything works well.
Hi,
after performing some reload at once, nginx's master process goes down, but workers are still alive. Got a break on function it crashes and saw, that peer_shm->upstream_name isn't NULL, but peer_shm->upstream->data is '\001' instead of normal data as like upstream_name->data. peer_shm->sockaddr contains a good address, only upstream_name somehow is missed. I dropped the checking for the upstream_name and everything works well.