<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Not sure.  <br>
    <br>
    Are you using blocking or non-blocking IO?  <br>
    Have you tried SSL_MODE_AUTO_RETRY?<br>
    Do you notice a different return value from SSL_read() after a zero
    byte read compared to other errors?<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/06/2015 07:12 PM, Bryan Call
      wrote:<br>
    </div>
    <blockquote
      cite="mid:DFBB7439-1044-4190-8ECF-30AB1D6537B2@apache.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Do you know if there is a way from preventing a call to
      SSL_get_error() after getting a 0 byte read from SSL_read()?  This
      is the main issue I am facing with the OpenSSL error locking right
      now.<br class="">
      <div class=""><br class="webkit-block-placeholder">
      </div>
      <div class="">
        <div style="color: rgb(0, 0, 0); letter-spacing: normal;
          orphans: auto; text-align: start; text-indent: 0px;
          text-transform: none; white-space: normal; widows: auto;
          word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
          break-word; -webkit-nbsp-mode: space; -webkit-line-break:
          after-white-space;" class="">
          <div class="">-Bryan</div>
          <div class=""><br class="">
          </div>
        </div>
        <br class="Apple-interchange-newline">
        <br class="Apple-interchange-newline">
      </div>
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On May 1, 2015, at 6:49 AM, Salz, Rich <<a
              moz-do-not-send="true" href="mailto:rsalz@akamai.com"
              class="">rsalz@akamai.com</a>> wrote:</div>
          <br class="Apple-interchange-newline">
          <div class="">
            <blockquote type="cite" class="">Lock #1 is CRYPTO_LOCK_ERR,
              which I believe is used for logging errors.  It appears
              your application is generating a lot of errors for some
              reason.  Never tried it myself, but you probably can't
              disable this lock with multiple threads running.  You
              should take a look at the error log to identify the cause
              of the errors.  Then resolve the issue, whatever it may
              be.  <br class="">
            </blockquote>
            <br class="">
            I have a rewrite of the error-stack stuff that halves the
            number of locks.  If you want to try it, drop me a line.<br
              class="">
            _______________________________________________<br class="">
            openssl-users mailing list<br class="">
            To unsubscribe: <a moz-do-not-send="true"
              href="https://mta.openssl.org/mailman/listinfo/openssl-users"
              class="">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br
              class="">
          </div>
        </blockquote>
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
openssl-users mailing list
To unsubscribe: <a class="moz-txt-link-freetext" href="https://mta.openssl.org/mailman/listinfo/openssl-users">https://mta.openssl.org/mailman/listinfo/openssl-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>