shithub: 9pro

Download patch

ref: 878369b88eb68babe2446e48fd247580aba8170c
parent: bfd4cf4e76dcb1e9ab644b3ecd06b4268363d234
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Nov 26 19:02:42 EST 2020

bring back propet retries

--- a/9gc.c
+++ b/9gc.c
@@ -317,9 +317,14 @@
 				return a;
 			}
 			free(a);
+		} else {
+			break;
 		}
+		sleep(10);
 	}
 
+	if (a == NULL)
+		return NULL;
 	a->c.r = ctxregistryR;
 	c9version(&a->c, &tag, Msize);
 	wrsend(a);