liblog: don't set socket timeouts in wraping mode

Wrap mode instructs logd to send data to client when log
is about to wrap minimizing client processing. Socket has
to stay connected for a long time possibly 2 hours so
do not set timeouts if wrap mode is on.

Fixes CTS regression.

Bug: 279826009
Test: atest CtsLiblogTestCases

Test result x86_64 CtsLiblogTestCases: Passed: 67, Failed: 0, Ignored: 0, Assumption Failed: 0,

Change-Id: If790208e2438fe5df3be35c5a166d823c66b943b
Signed-off-by: Andrei Diea <adiea@google.com>
1 file changed
tree: cc0b72924df39f76e8f9bf6b81c0d68631442ca2
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. rust/
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING