Skip to content
  1. Aug 18, 2011
  2. Aug 17, 2011
    • Daniel Stenberg's avatar
      18339846
    • Yang Tse's avatar
      MemoryTracking: adjust curl_domalloc() and curl_dofree() memory filling · 31a1af5e
      Yang Tse authored
      Until 2011-08-17 libcurl's Memory Tracking feature also performed
      automatic malloc and free filling operations using 0xA5 and 0x13
      values. Our own preinitialization of dynamically allocated memory
      might be useful when not using third party memory debuggers, but
      on the other hand this would fool memory debuggers into thinking
      that all dynamically allocated memory is properly initialized.
      
      As a default setting, libcurl's Memory Tracking feature no longer
      performs preinitialization of dynamically allocated memory on its
      own. If you know what you are doing, and really want to retain old
      behavior, you can achieve this compiling with preprocessor symbols
      CURL_MT_MALLOC_FILL and CURL_MT_FREE_FILL defined with appropriate
      values.
      31a1af5e
  3. Aug 16, 2011
  4. Aug 15, 2011
  5. Aug 14, 2011
    • Yang Tse's avatar
    • Daniel Stenberg's avatar
      telnet: allow programatic use on Windows · 44b44a75
      Daniel Stenberg authored
      Summary of the issue can be found at:
      http://curl.haxx.se/mail/lib-2010-04/0367.html
      
      That patch only updated the unix sockets code - the winsock code was not
      updated and no longer works the same was as the unix code. This change
      updates the windows code accordingly.
      
      Bug: http://curl.haxx.se/bug/view.cgi?id=3163118
      44b44a75
    • Yang Tse's avatar
      http NTLM: reinstate "memdebug.h" header inclusion · e575cbc8
      Yang Tse authored
      Inclusion of header "memdebug.h" in http_ntlm.c got lost in commit 98fb0ef7.
      e575cbc8
    • Daniel Stenberg's avatar
    • Daniel Stenberg's avatar
      Curl_output_ntlm: remove unused variable · dfb18da5
      Daniel Stenberg authored
      dfb18da5
    • Yang Tse's avatar
      http NTLM: fix 8 compiler warnings · dc4f9d18
      Yang Tse authored
      Strict splitting of http_ntlm.[ch] may trigger 8 compiler warnings when
      building with some compilers and strict compiler warnings enabled, depending
      on other specific configuration options some could get triggered or not.
      
      Seven are related with 'unused function parameters' and another one with
      'var may be used before its value is set'.
      dc4f9d18
    • Yang Tse's avatar
      http NTLM: split http_ntlm.[ch] between http_ntlm.[ch] and curl_ntlm.[ch] · 98fb0ef7
      Yang Tse authored
      For modularity purposes, huge chunks of NTLM existing code is transformed into
      functions to allow future internal code reuse.
      
      Resulting three new libcurl private functions:
      
       - Curl_ntlm_create_type1_message()
       - Curl_ntlm_create_type3_message()
       - Curl_ntlm_decode_type2_message()
      
      Changing static ntlm_sspi_cleanup() into non-static Curl_ntlm_sspi_cleanup()
      
      This 'refactoring' has been prepared by previous commits to allow that this
      specific one does not introduce any change to existing code. All existing
      goodness and badness previous to this commit should remain the same once it is
      applied, the only difference should be that existing code is moved into
      functions.
      
      Given the quite big portions of code being moved around, and the importance of
      change traceability, this commit has been done in such a way that it is
      possible to perform a three-way diff from initial http_ntlm.[ch] to resulting
      http_ntlm.[ch] and curl_ntlm.[ch] to actually verify that no functional change
      is introduced here.
      
      Notice that Steve Holme has provided several patches, but these included this
      refactoring along with 'extra' fixes. I really wanted this 'clean' refactoring
      done first, in order to allow discussion or committing of 'extra' fixes on a
      case by case basis, so, I had to bite the bullet ;-)
      
      Comments, line adjustments, compiler warning fixes, whatever, may follow
      afterwards.
      98fb0ef7
  6. Aug 13, 2011
  7. Aug 12, 2011
  8. Aug 11, 2011
    • Yang Tse's avatar
      http NTLM: fix compiler warning · 448f982d
      Yang Tse authored
      448f982d
    • Steve Holme's avatar
      http NTLM: Tidied up more inconsistent spacing. · f396d947
      Steve Holme authored
      Moved NTLMSSP_SIGNATURE, HOSTNAME_MAX, SHORTPAIR and LONGQUARTET definitions in ready for move to curl_ntlm.c.
      
      Used separate variables for Windows SSPI and native code to ease moving of code to curl_ntlm.c.
      
      Fixed typographical erros where SPPI should be SSPI.
      
      Fixed compilation warnings on 64-bit builds when calling Windows SSPI functions.
      f396d947
  9. Aug 09, 2011
  10. Aug 08, 2011
  11. Aug 07, 2011
  12. Aug 06, 2011