Merge branch 'cherry-pick-41f25408' into 'master'
Close socket fix, might relate to migration crashing This was listed as a bug, and was immediatelly picked the static analyzer anyway, this is very likely the cause for the migration-cancel-crash bug. closes #10 and possibly closes #11 See merge request !1
This commit is contained in:
@@ -922,7 +922,7 @@ void* mirror_runner(void* serve_params_uncast)
|
||||
* for us ). But if we've failed and are going to retry on the next run, we
|
||||
* must close this socket here to have any chance of it succeeding.
|
||||
*/
|
||||
if ( !mirror->client < 0 ) {
|
||||
if ( !(mirror->client < 0) ) {
|
||||
sock_try_close( mirror->client );
|
||||
mirror->client = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user