Skip to content
  1. Apr 17, 2015
  2. Apr 16, 2015
  3. Apr 15, 2015
  4. Apr 14, 2015
  5. Apr 13, 2015
  6. Apr 12, 2015
  7. Apr 11, 2015
  8. Apr 09, 2015
  9. Apr 08, 2015
  10. Apr 07, 2015
    • Da-Yoon Chung's avatar
      lib/transfer.c: Remove factor of 8 from sleep time calculation · a9e46749
      Da-Yoon Chung authored
      The factor of 8 is a bytes-to-bits conversion factor, but pkt_size and
      rate_bps are both in bytes. When using the rate limiting option, curl
      waits 8 times too long, and then transfers very quickly until the
      average rate reaches the limit. The average rate follows the limit over
      time, but the actual traffic is bursty.
      
      Thanks-to: Benjamin Gilbert
      a9e46749
  11. Apr 06, 2015
  12. Apr 05, 2015
  13. Apr 03, 2015
  14. Apr 02, 2015
    • Jay Satiro's avatar
      build-openssl.bat: Fix mixed line endings · e2a9ebb3
      Jay Satiro authored
      Use LF not CRLF, throughout.  msysgit will only convert a file to CRLF
      on checkout if it's not mixed.
      e2a9ebb3
    • Jay Satiro's avatar
      cyassl: Fix certificate load check · 0b5efa57
      Jay Satiro authored
      SSL_CTX_load_verify_locations can return negative values on fail,
      therefore to check for failure we check if load is != 1 (success)
      instead of if load is == 0 (failure), the latter being incorrect given
      that behavior.
      0b5efa57
    • Tatsuhiro Tsujikawa's avatar
      http2: Fix missing nghttp2_session_send call in Curl_http2_switched · 21e82bd6
      Tatsuhiro Tsujikawa authored
      Previously in Curl_http2_switched, we called nghttp2_session_mem_recv to
      parse incoming data which were already received while curl was handling
      upgrade.  But we didn't call nghttp2_session_send, and it led to make
      curl not send any response to the received frames.  Most likely, we
      received SETTINGS from server at this point, so we missed opportunity to
      send SETTINGS + ACK.  This commit adds missing nghttp2_session_send call
      in Curl_http2_switched to fix this issue.
      
      Bug: https://github.com/bagder/curl/issues/192
      Reported-by: Stefan Eissing
      21e82bd6
  15. Apr 01, 2015
    • Daniel Stenberg's avatar
      cookie: handle spaces after the name in Set-Cookie · 2685041a
      Daniel Stenberg authored
      "name =value" is fine and the space should just be skipped.
      
      Updated test 31 to also test for this.
      
      Bug: https://github.com/bagder/curl/issues/195
      Reported-by: cromestant
      Help-by: Frank Gevaerts
      2685041a
    • Jay Satiro's avatar
      cyassl: Fix library initialization return value · b1216334
      Jay Satiro authored
      (Curl_cyassl_init)
      - Return 1 on success, 0 in failure.
      
      Prior to this change the fail path returned an incorrect value and the
      evaluation to determine whether CyaSSL_Init had succeeded was incorrect.
      Ironically that combined with the way curl_global_init tests SSL library
      initialization (!Curl_ssl_init()) meant that CyaSSL having been
      successfully initialized would be seen as that even though the code path
      and return value in Curl_cyassl_init were wrong.
      b1216334