debian/patches/no_throttled_rmgroups
raw| 1 | --- inn-1.7.2.orig/innd/cc.c |
| 2 | +++ inn-1.7.2/innd/cc.c |
| 3 | @@ -1429,6 +1429,13 @@ |
| 4 | if ((ngp = NGfind(av[0])) == NULL) |
| 5 | return CCnogroup; |
| 6 | |
| 7 | + /* |
| 8 | + * See FAQ Q 6.3: INN shreds the active file when doing multiple |
| 9 | + * rmgroups if the server is throttled. So disallow that for now. |
| 10 | + */ |
| 11 | + if (Mode == OMthrottled) |
| 12 | + return "1 server throttled"; |
| 13 | + |
| 14 | /* Update the in-core data. */ |
| 15 | if (!ICDrmgroup(ngp)) |
| 16 | return "1 Failed"; |