|
Lines 583-591
Link Here
|
| 583 |
len = read(connection_in, buf, sizeof(buf)); |
583 |
len = read(connection_in, buf, sizeof(buf)); |
| 584 |
if (len == 0) { |
584 |
if (len == 0) { |
| 585 |
/* Received EOF. The remote host has closed the connection. */ |
585 |
/* Received EOF. The remote host has closed the connection. */ |
|
|
586 |
/* This message duplicates the one already in client_loop(). */ |
| 587 |
#if 0 |
| 586 |
snprintf(buf, sizeof buf, "Connection to %.300s closed by remote host.\r\n", |
588 |
snprintf(buf, sizeof buf, "Connection to %.300s closed by remote host.\r\n", |
| 587 |
host); |
589 |
host); |
| 588 |
buffer_append(&stderr_buffer, buf, strlen(buf)); |
590 |
buffer_append(&stderr_buffer, buf, strlen(buf)); |
|
|
591 |
#endif |
| 589 |
quit_pending = 1; |
592 |
quit_pending = 1; |
| 590 |
return; |
593 |
return; |
| 591 |
} |
594 |
} |