Skip to content
Snippets Groups Projects
  1. Feb 14, 2007
  2. Feb 13, 2007
  3. Feb 12, 2007
  4. Feb 09, 2007
    • Yang Tse's avatar
      Include both testutil.c and testutil.h, and not just testutil.c, in the · 8c9233f6
      Yang Tse authored
      list of source files for those tests that use it. Otherwise testutil.h
      might not be found by the compiler.
      8c9233f6
    • Yang Tse's avatar
      Some tests were using functions curlx_tvnow and curlx_tvdiff which are not · 6fcf98f6
      Yang Tse authored
      part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx
      The documented way of using them would be to use timeval.c as a source code file.
      
      The above described method works very well when statically linking libcurl and
      apps, test programs, but has several drawbacks when you build a true shared
      libcurl (i.e. Name space clash at linkage stage as functions are defined more
      than once. Windows makefiles are not capable of handling this system of
      source-level sharing)
      
      So...
      
      Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff
      which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this
      we avoid the above described problems, and the code in the testsuite does not
      impose the need to keep those functions public in libcurl even when not part of
      the API.
      6fcf98f6
    • Yang Tse's avatar
      Some tests were using functions curlx_tvnow and curlx_tvdiff which are not · 2f4fe017
      Yang Tse authored
      part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx
      The documented way of using them would be to use timeval.c as a source code file.
      
      The above described method works very well when statically linking libcurl and
      apps, test programs, but has several drawbacks when you build a true shared
      libcurl (i.e. Name space clash at linkage stage as functions are defined more
      than once. Windows makefiles are not capable of handling this system of
      source-level sharing)
      
      So...
      
      Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff
      which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this
      we avoid the above described problems, and the code in the testsuite does not
      impose the need to keep those functions public in libcurl even when not part of
      the API.
      2f4fe017
  5. Feb 05, 2007
  6. Feb 04, 2007
  7. Feb 02, 2007
  8. Jan 31, 2007
  9. Jan 30, 2007
  10. Jan 29, 2007
  11. Jan 28, 2007
  12. Jan 27, 2007
  13. Jan 25, 2007
  14. Jan 23, 2007
  15. Jan 18, 2007
  16. Jan 17, 2007
  17. Jan 16, 2007
  18. Jan 15, 2007
  19. Jan 10, 2007
  20. Jan 04, 2007
  21. Dec 11, 2006
    • Daniel Stenberg's avatar
      Alexey Simak found out that when doing FTP with the multi interface and · 88c8d72a
      Daniel Stenberg authored
      something went wrong like it got a bad response code back from the server,
      libcurl would leak memory. Added test case 538 to verify the fix.
      
      I also noted that the connection would get cached in that case, which
      doesn't make sense since it cannot be re-use when the authentication has
      failed. I fixed that issue too at the same time, and also that the path
      would be "remembered" in vain for cases where the connection was about to
      get closed.
      88c8d72a
  22. Nov 25, 2006
Loading