|
@ -503,7 +503,7 @@ int32_t iguana_send(struct iguana_info *coin,struct iguana_peer *addr,uint8_t *s |
|
|
if ( (numsent= (int32_t)send(usock,serialized,remains,MSG_NOSIGNAL)) < 0 ) |
|
|
if ( (numsent= (int32_t)send(usock,serialized,remains,MSG_NOSIGNAL)) < 0 ) |
|
|
#endif |
|
|
#endif |
|
|
{ |
|
|
{ |
|
|
if ( errno == EAGAIN ) |
|
|
if ( errno == EAGAIN || errno == EWOULDBLOCK ) |
|
|
{ |
|
|
{ |
|
|
//addr->persistent_peer = 1;
|
|
|
//addr->persistent_peer = 1;
|
|
|
sleep(1); |
|
|
sleep(1); |
|
|