1. 13 Apr, 2015 4 commits
  2. 12 Apr, 2015 1 commit
  3. 11 Apr, 2015 1 commit
  4. 09 Apr, 2015 1 commit
  5. 08 Apr, 2015 3 commits
  6. 07 Apr, 2015 1 commit
    • 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
  7. 06 Apr, 2015 2 commits
  8. 05 Apr, 2015 2 commits
  9. 03 Apr, 2015 7 commits
  10. 02 Apr, 2015 3 commits
    • 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
  11. 01 Apr, 2015 2 commits
    • 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
  12. 31 Mar, 2015 2 commits
    • 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
  13. 30 Mar, 2015 2 commits
  14. 29 Mar, 2015 2 commits
  15. 28 Mar, 2015 3 commits
  16. 27 Mar, 2015 4 commits