Skip to content

Commit

Permalink
Add comments for broken socket timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
alesapin committed Aug 8, 2019
1 parent ae62e22 commit 7a2d304
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Net/include/Poco/Net/SocketDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@
#define POCO_HAVE_ADDRINFO 1
#endif


/// Without this option, Poco library will restart recv after EINTR,
/// but it doesn't update socket receive timeout that leads to infinite wait
/// when query profiler is activated. The issue persisted in delayed_replica_failover
/// integration test after we enabled query profiler by default.
#define POCO_BROKEN_TIMEOUTS 1


Expand Down

0 comments on commit 7a2d304

Please sign in to comment.