{"push_id":2893378908,"size":1,"distinct_size":0,"ref":"refs/heads/master","head":"58c38298f53e684e2b5a45e5f7cf053f142ba384","before":"d0e428aace21c7b3462afacde6955fb1017596db","commits":[{"sha":"58c38298f53e684e2b5a45e5f7cf053f142ba384","author":{"name":"Max Romanov","email":"2539a09fcd8cce53da964067bd13fd5b40d193d4@nginx.com"},"message":"Resetting init->stream for ready process.\n\nRouter requests application start by sending port message with application\nparameters to master.  In response router gets application port.  Stream id\nused to link request and response.  If application process terminates\nunexpectedly (e.g. before ready state), it is required to notify router about\napplication start failure.  For this purpose stream id is stored in process\ninitialization parameters.\n\nStream id sequentially incremented and starts from 1 in case of router\nresurrection.  New router application start stream id may coincide with\nstream id of currently running/terminating application processes.  In such\ncases router may receive REMOVE_PID message with same stream id as used in\napplication start request and mistakenly reports application start failure.\n\nThis commit tries to avoid such errors by resetting stream for processes in\nready state.","distinct":false,"url":"https://api.github.com/repos/nginx/unit/commits/58c38298f53e684e2b5a45e5f7cf053f142ba384"}]}
{"actor":{"display_login":"nginx-hg-mirror"}}