1. 05 Jul, 2017 3 commits
  2. 04 Jul, 2017 12 commits
  3. 03 Jul, 2017 3 commits
    • 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
    • Ryan Winograd's avatar
      unit1399: fix integer overflow · 3a48a132
      Ryan Winograd authored
      Bug: #1616
      Closes #1633
      3a48a132
  4. 01 Jul, 2017 2 commits
  5. 30 Jun, 2017 8 commits
  6. 28 Jun, 2017 6 commits
  7. 27 Jun, 2017 1 commit
    • Daniel Stenberg's avatar
      libtest/make: generate lib1521.c · 467da3af
      Daniel Stenberg authored
      ... instead of having the generated code checked in. This saves space in
      the tarball but primarily automatically adapts to newly added options.
      
      Closes #1614
      467da3af
  8. 26 Jun, 2017 1 commit
  9. 25 Jun, 2017 2 commits
  10. 24 Jun, 2017 2 commits
    • Daniel Stenberg's avatar
      curl/system.h: add check for XTENSA for 32bit gcc · ceff21ab
      Daniel Stenberg authored
      Reported-by: Neil Kolban
      Fixes: 1598
      ceff21ab
    • Henrik S. Gaßmann's avatar
      winbuild: fix boringssl build · cd34ffa6
      Henrik S. Gaßmann authored
      Compile with `WIN32_LEAN_AND_MEAN` which prevents `windows.h` from
      including too much clutter including `wincrypt.h` which in turn contains
      some preprocessor macros that clash with boringssl symbols.
      
      Detect boringssl by checking the existance of `is_boringssl.h` and set
      the corresponding `HAVE_BORINGSSL` for compilation which is used in
      `ldap.c` to undefine the evil macros.
      
      Closes #1610
      cd34ffa6