1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

Merge pull request #27 from DamianZaremba/feature/dzaremba/increase-select-timeout

bgpq_expander - Increase the read select timeout to 30 seconds
This commit is contained in:
Job Snijders
2020-06-29 15:25:45 +00:00
committed by GitHub

View File

@ -477,7 +477,7 @@ bgpq_selread(struct bgpq_expander* b, char* buffer, int size)
{
fd_set rfd, wfd;
int ret;
struct timeval timeout = {10, 0};
struct timeval timeout = {30, 0};
repeat:
FD_ZERO(&rfd);