Skip to content
Snippets Groups Projects
  1. Feb 13, 2007
  2. Feb 12, 2007
  3. 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
  4. Feb 05, 2007
  5. Feb 04, 2007
  6. Feb 02, 2007
  7. Jan 31, 2007
  8. Jan 30, 2007
  9. Jan 29, 2007
  10. Jan 28, 2007
  11. Jan 27, 2007
  12. Jan 25, 2007
  13. Jan 23, 2007
  14. Jan 18, 2007
  15. Jan 17, 2007
  16. Jan 16, 2007
  17. Jan 15, 2007
  18. Jan 10, 2007
  19. Jan 04, 2007
  20. 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
  21. Nov 25, 2006
    • Daniel Stenberg's avatar
      added the new test 282 · 090f5a9a
      Daniel Stenberg authored
      090f5a9a
    • Daniel Stenberg's avatar
      Venkat Akella found out that libcurl did not like HTTP responses that simply · da58d03f
      Daniel Stenberg authored
      responded with a single status line and no headers nor body. Starting now, a
      HTTP response on a persistent connection (i.e not set to be closed after the
      response has been taken care of) must have Content-Length or chunked
      encoding set, or libcurl will simply assume that there is no body.
      
      To my horror I learned that we had no less than 57(!) test cases that did bad
      HTTP responses like this, and even the test http server (sws) responded badly
      when queried by the test system if it is the test system. So although the
      actual fix for the problem was tiny, going through all the newly failing test
      cases got really painful and boring.
      da58d03f
  22. Nov 20, 2006
Loading