Skip to content
  1. Apr 15, 2015
  2. Apr 14, 2015
  3. Apr 13, 2015
  4. Apr 12, 2015
  5. Apr 11, 2015
  6. Apr 09, 2015
  7. Apr 08, 2015
  8. 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
  9. Apr 06, 2015
  10. Apr 05, 2015
  11. Apr 03, 2015
  12. 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
  13. 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
  14. Mar 31, 2015
    • Thomas Ruecker's avatar
      CURLOPT_HTTP200ALIASES.3: Mainly SHOUTcast servers use "ICY 200" · c84f0250
      Thomas Ruecker authored
      Icecast versions 1.3.0 through 1.3.12 would reply with "ICY 200"
      under certain conditions:
      
          client_wants_icy_headers (connection_t *con)
          {
                  const char *val;
      
                  if (!con)
                          return 1;
      
                  val = get_user_agent (con);
                  if (!val || !val[0] || strcmp (val, "(null)") == 0)
                          return 1;
      
                  if (con->food.client->use_icy)
                          return 1;
                  if (strncasecmp (val, "winamp", 6) == 0)
                          return 1;
                  if (strncasecmp (val, "Shoutcast", 9) == 0)
                          return 1;
      
                  return 0;
          }
      
      So mainly if there is no 'user agent' or it is '(null)' or contains
      'winamp' or 'Shoutcast'.
      
      No mainstream distribution carries Icecast 1.3.x anymore, after all
      it was released in 2002 and superseded by Icecast 2.x.
      c84f0250
    • Dan Fandrich's avatar
      axtls: add timeout within Curl_axtls_connect · 049fe7fb
      Dan Fandrich authored
      This allows test 405 to pass on axTLS.
      049fe7fb
  15. Mar 30, 2015