Révision b3c5aae5
Ajouté par Ermal il y a presque 10 ans
pfPorts/check_reload_status/files/check_reload_status.c | ||
---|---|---|
373 | 373 |
|
374 | 374 |
result = write(fcgifd, buf, len); |
375 | 375 |
if (result < 0) { |
376 |
if (fcgifd) |
|
377 |
close(fcgifd); |
|
378 |
fcgifd = -1; |
|
376 | 379 |
syslog(LOG_ERR, "Something wrong happened while sending request: %m\n"); |
377 | 380 |
timeout_add(&cmd->ev, &tv); |
378 | 381 |
} else if (cmd->aggregate > 0) { |
Formats disponibles : Unified diff
try to recover from errors