• When SSL wants the app to retry, it stands to reason that the local
    write buffer needs to be grown (read: reallocated) to hold the
    application bytes. At that point, the buffer is no longer where it was
    originally.
    
    This fixes segfaults.
    Wiebe Cazemier authored
     
    Browse Code »









  • The code allowed one to try to upgrade a read lock to a write lock,
    which would/could fail.
    
    In the existing code, the only attempted double lock was a write lock,
    so this change doesn't actually fix anything, but it's clearer, and we
    can make do with the lock that was removed. It just takes a bit more
    overhead on app start-up, to place a lock per message.
    Wiebe Cazemier authored
     
    Browse Code »