[haiku-bugs] Re: [Haiku] #15853: [pkgman] Failed to download package cmake: Operation would block

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 26 May 2020 22:50:19 -0000

#15853: [pkgman] Failed to download package cmake: Operation would block
-------------------------------+----------------------------
  Reporter:  diver             |      Owner:  pulkomandy
      Type:  bug               |     Status:  assigned
  Priority:  high              |  Milestone:  R1/beta2
 Component:  Kits/Package Kit  |    Version:  R1/Development
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:
  Platform:  All               |
-------------------------------+----------------------------
Comment (by ambroff):

 I don't fully understand what AUTO_RETRY mode is. You're right
 waddlesplash that page seems to imply that it does the opposite of what we
 want.

 I tested commenting out the line that sets SSL_MODE_AUTO_RETRY on
 BSecureSocket::Private::sContext, and I also tried setting
 SSL_MODE_AUTO_RETRY on BSecureSocket::Private::fSSL. In every case I still
 get SSL_ERRRO_WANT_READ back when interrupting a read.

 The good news is that errno is being set to EINTR.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15853#comment:22>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: