Skip to content
  1. Jul 28, 2017
  2. Jul 27, 2017
  3. Jul 26, 2017
  4. Jul 20, 2017
  5. Jul 17, 2017
  6. Jul 11, 2017
  7. Jul 10, 2017
  8. Jul 09, 2017
    • Marcel Raad's avatar
      smb: rename variable to fix shadowing warning · 59a0fb24
      Marcel Raad authored
      GCC 4.6.3 on travis complains:
      smb.c: In function ‘get_posix_time’:
      smb.c:725:13: error: declaration of ‘time’ shadows a global declaration
      [-Werror=shadow]
      
      Fix this by renaming the variable.
      59a0fb24
  9. Jul 07, 2017
  10. Jul 06, 2017
  11. Jul 05, 2017
  12. Jul 04, 2017
  13. Jul 03, 2017
    • Daniel Stenberg's avatar
      url: make the original string get used on subsequent transfers · b3786f61
      Daniel Stenberg authored
      ... since CURLOPT_URL should follow the same rules as other options:
      they remain set until changed or cleared.
      
      Added test 1551 to verify.
      
      Fixes #1631
      Closes #1632
      Reported-by: Pavel Rochnyak
      b3786f61
    • Johannes Schindelin's avatar
      gtls: fix build when sizeof(long) < sizeof(void *) · c0cdc68c
      Johannes Schindelin authored
      
      
      - Change gnutls pointer/int macros to pointer/curl_socket_t.
        Prior to this change they used long type as well.
      
      The size of the `long` data type can be shorter than that of pointer
      types. This is the case most notably on Windows.
      
      If C99 were acceptable, we could simply use `intptr_t` here. But we
      want to retain C89 compatibility.
      
      Simply use the trick of performing pointer arithmetic with the NULL
      pointer: to convert an integer `i` to a pointer, simply take the
      address of the `i`th element of a hypothetical character array
      starting at address NULL. To convert back, simply cast the pointer
      difference.
      
      Thanks to Jay Satiro for the initial modification to use curl_socket_t
      instead of int/long.
      
      Closes #1617
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
      c0cdc68c
  14. Jun 30, 2017
  15. Jun 28, 2017
  16. Jun 24, 2017
  17. Jun 23, 2017
  18. Jun 21, 2017
  19. Jun 20, 2017
  20. Jun 19, 2017
    • Daniel Stenberg's avatar
      http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASH · b778ae4c
      Daniel Stenberg authored
      ... to enable sending "OPTIONS *" which wasn't possible previously.
      
      This option currently only works for HTTP.
      
      Added test cases 1298 + 1299 to verify
      
      Fixes #1280
      Closes #1462
      b778ae4c
    • Daniel Stenberg's avatar
      getinfo: return sizes as curl_off_t · 3b80d3ca
      Daniel Stenberg authored
      This change introduces new alternatives for the existing six
      curl_easy_getinfo() options that return sizes or speeds as doubles. The
      new versions are named like the old ones but with an appended '_T':
      
      CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
      CURLINFO_CONTENT_LENGTH_UPLOAD_T
      CURLINFO_SIZE_DOWNLOAD_T
      CURLINFO_SIZE_UPLOAD_T
      CURLINFO_SPEED_DOWNLOAD_T
      CURLINFO_SPEED_UPLOAD_T
      
      Closes #1511
      3b80d3ca