1. 27 Mar, 2013 1 commit
  2. 25 Mar, 2013 3 commits
    • Yang Tse's avatar
      NTLM: fix several NTLM code paths memory leaks · acafe9c1
      Yang Tse authored
      acafe9c1
    • Yang Tse's avatar
      WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage · 8ec2cb55
      Yang Tse authored
      As of 25-mar-2013 wcsdup() _wcsdup() and _tcsdup() are only used in
      WIN32 specific code, so tracking of these has not been extended for
      other build targets. Without this fix, memory tracking system on
      WIN32 builds, when using these functions, would provide misleading
      results.
      
      In order to properly extend this support for all targets curl.h
      would have to define curl_wcsdup_callback prototype and consequently
      wchar_t should be visible before that in curl.h.  IOW curl_wchar_t
      defined in curlbuild.h and this pulling whatever system header is
      required to get wchar_t definition.
      
      Additionally a new curl_global_init_mem() function that also receives
      user defined wcsdup() callback would be required.
      8ec2cb55
    • Yang Tse's avatar
      curl_ntlm_msgs.c: revert commit 463082be · c5eabd48
      Yang Tse authored
      reverts unreleased invalid memory leak fix
      c5eabd48
  3. 23 Mar, 2013 2 commits
  4. 21 Mar, 2013 4 commits
  5. 20 Mar, 2013 3 commits
  6. 19 Mar, 2013 1 commit
  7. 18 Mar, 2013 4 commits
  8. 17 Mar, 2013 1 commit
  9. 16 Mar, 2013 5 commits
  10. 15 Mar, 2013 7 commits
  11. 14 Mar, 2013 4 commits
  12. 13 Mar, 2013 5 commits
    • Linus Nielsen Feltzing's avatar
      Multiple pipelines and limiting the number of connections. · 0f147887
      Linus Nielsen Feltzing authored
      Introducing a number of options to the multi interface that
      allows for multiple pipelines to the same host, in order to
      optimize the balance between the penalty for opening new
      connections and the potential pipelining latency.
      
      Two new options for limiting the number of connections:
      
      CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections
      to the same host. When adding a handle that exceeds this limit,
      that handle will be put in a pending state until another handle is
      finished, so we can reuse the connection.
      
      CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total.
      When adding a handle that exceeds this limit,
      that handle will be put in a pending state until another handle is
      finished. The free connection will then be reused, if possible, or
      closed if the pending handle can't reuse it.
      
      Several new options for pipelining:
      
      CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a
      pipeline is "full" when a connection is to be reused, a new connection
      will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it.
      If not, the handle will be put in a pending state until a connection is
      ready (either free or a pipe got shorter).
      
      CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not
      be reused if it is currently processing a transfer with a content
      length that is larger than this.
      
      CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not
      be reused if it is currently processing a chunk larger than this.
      
      CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow
      pipelining.
      
      CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow
      pipelining.
      
      See the curl_multi_setopt() man page for details.
      0f147887
    • Yang Tse's avatar
      tool_main.c: remove redundant vms_show storage-class specifier · 911b2d3f
      Yang Tse authored
      vms_show 'extern' storage-class specifier removed from tool_main.c due to...
      
      - Advice from Tor Arntsen: http://curl.haxx.se/mail/lib-2013-03/0164.html
      
      - HP OpenVMS docs stating that 'Extern is the default storage class for
        variables declared outside a function.'
        http://h71000.www7.hp.com/commercial/c/docs/dec_c_help_5.html
        (Storage_Classes section)
      911b2d3f
    • Yang Tse's avatar
    • Steve Holme's avatar
      pop3: Removed unnecessary transfer cancellation · ac890cd5
      Steve Holme authored
      Following commit e450f66a and the changes in the multi interface
      being used internally, from 7.29.0, the transfer cancellation in
      pop3_dophase_done() is no longer required.
      ac890cd5
    • Yang Tse's avatar
      308dc625