1. 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
  2. 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
  3. 30 Mar, 2015 2 commits
  4. 29 Mar, 2015 2 commits
  5. 28 Mar, 2015 3 commits
  6. 27 Mar, 2015 6 commits
  7. 26 Mar, 2015 2 commits
  8. 25 Mar, 2015 10 commits
  9. 24 Mar, 2015 11 commits