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:
@ -477,7 +477,7 @@ bgpq_selread(struct bgpq_expander* b, char* buffer, int size)
|
|||||||
{
|
{
|
||||||
fd_set rfd, wfd;
|
fd_set rfd, wfd;
|
||||||
int ret;
|
int ret;
|
||||||
struct timeval timeout = {10, 0};
|
struct timeval timeout = {30, 0};
|
||||||
|
|
||||||
repeat:
|
repeat:
|
||||||
FD_ZERO(&rfd);
|
FD_ZERO(&rfd);
|
||||||
|
Reference in New Issue
Block a user