Skip to content
Snippets Groups Projects
  • Andy Green's avatar
    6bc92f75
    wrapper: untrash partial sends before WANT · 6bc92f75
    Andy Green authored
    1) The original wrapper logic for accounting for partial
    sends on mbedtls is broken... adapt it
    
    2) mbedtls has an additional restriction you MUST come
    back to retry with EXACTLY the unsent part that you
    originally asked for, or it loses coherency in the TLS
    tunnel.
    
    3) the wrapper is inconsistent between read WANT state
    dynamically reported from mbedtls apis and the
    SSL_want() api results.  Check both on read.
    6bc92f75
    History
    wrapper: untrash partial sends before WANT
    Andy Green authored
    1) The original wrapper logic for accounting for partial
    sends on mbedtls is broken... adapt it
    
    2) mbedtls has an additional restriction you MUST come
    back to retry with EXACTLY the unsent part that you
    originally asked for, or it loses coherency in the TLS
    tunnel.
    
    3) the wrapper is inconsistent between read WANT state
    dynamically reported from mbedtls apis and the
    SSL_want() api results.  Check both on read.