Skip to content
  1. Nov 04, 2018
  2. Nov 03, 2018
    • Daniel Gustafsson's avatar
      infof: clearly indicate truncation · c37b66aa
      Daniel Gustafsson authored
      
      
      The internal buffer in infof() is limited to 2048 bytes of payload plus
      an additional byte for NULL termination. Servers with very long error
      messages can however cause truncation of the string, which currently
      isn't very clear, and leads to badly formatted output.
      
      This appends a "...\n" (or just "..." in case the format didn't with a
      newline char) marker to the end of the string to clearly show
      that it has been truncated.
      
      Also include a unittest covering infof() to try and catch any bugs
      introduced in this quite important function.
      
      Closes #3216
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      Reviewed-by: default avatarMarcel Raad <Marcel.Raad@teamviewer.com>
      c37b66aa
    • Michael Kaufmann's avatar
      tool_getparam: fix some comments · d82a17ad
      Michael Kaufmann authored
      d82a17ad
    • Daniel Stenberg's avatar
      url: a short host name + port is not a scheme · 226cfa82
      Daniel Stenberg authored
      The function identifying a leading "scheme" part of the URL considered a few
      letters ending with a colon to be a scheme, making something like "short:80"
      to become an unknown scheme instead of a short host name and a port number.
      
      Extended test 1560 to verify.
      
      Reported-by: Hagai Auro
      Fixes #3220
      Closes #3223
      226cfa82
  3. Nov 02, 2018
  4. Nov 01, 2018
  5. Oct 31, 2018
  6. Oct 30, 2018
  7. Oct 29, 2018
  8. Oct 27, 2018