Skip to content
  • Richy Kim's avatar
    CURLOPT_BUFFERSIZE: support enlarging receive buffer · 6b761669
    Richy Kim authored
    Replace use of fixed macro BUFSIZE to define the size of the receive
    buffer.  Reappropriate CURLOPT_BUFFERSIZE to include enlarging receive
    buffer size.  Upon setting, resize buffer if larger than the current
    default size up to a MAX_BUFSIZE (512KB). This can benefit protocols
    like SFTP.
    
    Closes #1222
    6b761669